B

ボックス-Muller変換

Box-Muller Transformは、一様分布の乱数から正規分布の乱数を生成します。

その ボックス-Muller変換 is a mathematical technique used to convert pairs of uniformly distributed random numbers into pairs of independent standard normally distributed random numbers. This transformation is particularly useful in statistics and various fields of 人工知能, where 正規分布 is a common assumption for modeling データ。

このプロセスは、まず2つの独立したランダム数U1とU2を生成し、これらは区間(0, 1)で一様分布に従います。次に、ボックス-Muller変換はこれらの乱数に対して以下の式を適用します:

Z0 = sqrt(-2 * ln(U1)) * cos(2 * π * U2)

Z1 = sqrt(-2 * ln(U1)) * sin(2 * π * U2)

ここで、Z0とZ1は結果として得られる正規分布の乱数です。これらの出力は平均0、標準偏差1を持ち、標準正規変数となります。

This method is particularly advantageous because it efficiently creates normally distributed values from uniformly distributed inputs, which are easier to generate with random number generators. The Box-Muller Transform is widely applied in simulation, 統計的モデリング, and 機械学習 tasks that require ランダムサンプリング 正規分布から。

実際には、さまざまな方法で実装できます プログラミング言語 and frameworks, which often include built-in functions for generating normally distributed random numbers, thus streamlining the process for developers and researchers.

コントロール + /