LearnDistributionによって生成された分布を表す.
LearnedDistribution
LearnDistributionによって生成された分布を表す.
詳細とオプション
- LearnedDistributionは,機械学習手法を用いてデータから自動的に学習された確率分布を表す.パラメトリックな形式は必要としない.
- LearnedDistribution[…]には次の関数を使うことができる.
-
PDF[dist,…] データの確率または確率密度 RandomVariate[dist] 分布から生成されたランダムサンプル SynthesizeMissingValues[dist,…] 分布に従って欠落値を埋める RarerProbability[dist,…] 確率を計算して与えられた例よりもPDFが低いサンプルを生成する - LearnedDistribution[…]に対して使うとき,関数PDFおよび関数RarerProbabilityには次のオプションを使うことができる.
-
PerformanceGoal Automatic 最適化するパフォーマンスの局面 MaxIterations Automatic モンテカルロ積分法を行う際の反復数 ComputeUncertainty False 確率をその不確かさとともに返すかどうか - 次は,PerformanceGoalの可能な設定である.
-
"Quality" 結果の品質を最大にする "Speed" 結果のスピードを最大にする Automatic スピードと品質の間の自動トレードオフ - Information[LearnedDistribution[…]]は,分布とその推定されるパフォーマンスについての情報パネルを生成する.
- Information[LearnedDistribution[…],prop]を使って特定の特性を得ることができる.
- LearnedDistributionのInformationは次の特性を含むことがある.
-
"BatchPDFTime" バッチが与えられたときに,PDFを1つの例に適用する限界時間 "BatchSamplingTime" バッチ中の1つの例を生成する限界時間 "Entropy" 分布の推定エントロピー "ExampleNumber" 訓練例の数 "FeatureTypes" 分布変数のタイプ "FunctionMemory" 分布の保存に必要なメモリ "LearningCurve" 訓練集合サイズの関数としてのパフォーマンス "MaxTrainingMemory" 訓練中に使用された最大メモリ "Method" LearnDistributionが使用したMethodの値 "MethodDescription" メソッドのまとめ "MethodOption" 新たな訓練の際に使用される完全なメソッドオプション "PDFTime" PDFを一意的な例に適用するのにかかった時間 "Properties" この分布が使用可能なすべての情報特性 "SamplingTime" 1つの例のサンプルを取るのにかかる時間 "TrainingTime" LearnDistributionが分布を生成するのにかかった時間 - Information特性は,すべてのメソッドのサブオプションも含んでいる.
例題
すべて開く すべて閉じる例 (3)
LearnedDistribution[…]を数値のデータ集合で訓練する:
ld = LearnDistribution[{1.2, 2.5, 3.2, 4.6}]RandomVariate[ld]LearnedDistribution[…]を名義的データ集合で訓練する:
ld = LearnDistribution[{"A", "A", "B", "B", "B"}]PDF[ld, {"A", "B"}]LearnedDistribution[…]を二次元データ集合で訓練する:
ld = LearnDistribution[{{1.1, 1.4}, {2.3, 3.1}, {4.4, 5.4}, {8.7, 7.5}}]SynthesizeMissingValues[ld, {4.2, Missing[]}]スコープ (5)
RandomVariate[LearnedDistribution[Association["ExampleNumber" -> 5,
"Preprocessor" -> MachineLearning`MLProcessor["ToMLDataset",
Association["Input" -> Association["f1" -> Association["Type" -> "Nominal"]],
"Output" -> Association["f1" -> Associati ... 01, -0.558208466192803},
"LeftBoundary" -> -0.8478708996191617, "LeftScale" -> 0.025479953410520107,
"LeftTailNorm" -> 0.10752688172043012]],
"Entropy" -> Around[0.6736041611399929, 0.015212161002146906], "EntropySampleSize" -> 93]]]RandomVariate[LearnedDistribution[Association["ExampleNumber" -> 5,
"Preprocessor" -> MachineLearning`MLProcessor["ToMLDataset",
Association["Input" -> Association["f1" -> Association["Type" -> "Nominal"]],
"Output" -> Association["f1" -> Associati ... 01, -0.558208466192803},
"LeftBoundary" -> -0.8478708996191617, "LeftScale" -> 0.025479953410520107,
"LeftTailNorm" -> 0.10752688172043012]],
"Entropy" -> Around[0.6736041611399929, 0.015212161002146906], "EntropySampleSize" -> 93]], 10]与えられたサンプルのPDFを計算する:
PDF[LearnedDistribution[Association["ExampleNumber" -> 5,
"Preprocessor" -> MachineLearning`MLProcessor["ToMLDataset",
Association["Input" -> Association["f1" -> Association["Type" -> "Nominal"]],
"Output" -> Association["f1" -> Associati ... 01, -0.558208466192803},
"LeftBoundary" -> -0.8478708996191617, "LeftScale" -> 0.025479953410520107,
"LeftTailNorm" -> 0.10752688172043012]],
"Entropy" -> Around[0.6736041611399929, 0.015212161002146906], "EntropySampleSize" -> 93]], "A"]Information[LearnedDistribution[Association["ExampleNumber" -> 5,
"Preprocessor" -> MachineLearning`MLProcessor["ToMLDataset",
Association["Input" -> Association["f1" -> Association["Type" -> "Nominal"]],
"Output" -> Association["f1" -> Associati ... 01, -0.558208466192803},
"LeftBoundary" -> -0.8478708996191617, "LeftScale" -> 0.025479953410520107,
"LeftTailNorm" -> 0.10752688172043012]],
"Entropy" -> Around[0.6736041611399929, 0.015212161002146906], "EntropySampleSize" -> 93]]]Information[LearnedDistribution[Association["ExampleNumber" -> 5,
"Preprocessor" -> MachineLearning`MLProcessor["ToMLDataset",
Association["Input" -> Association["f1" -> Association["Type" -> "Nominal"]],
"Output" -> Association["f1" -> Associati ... 01, -0.558208466192803},
"LeftBoundary" -> -0.8478708996191617, "LeftScale" -> 0.025479953410520107,
"LeftTailNorm" -> 0.10752688172043012]],
"Entropy" -> Around[0.6736041611399929, 0.015212161002146906], "EntropySampleSize" -> 93]], "Entropy"]Information[LearnedDistribution[Association["ExampleNumber" -> 5,
"Preprocessor" -> MachineLearning`MLProcessor["ToMLDataset",
Association["Input" -> Association["f1" -> Association["Type" -> "Nominal"]],
"Output" -> Association["f1" -> Associati ... 01, -0.558208466192803},
"LeftBoundary" -> -0.8478708996191617, "LeftScale" -> 0.025479953410520107,
"LeftTailNorm" -> 0.10752688172043012]],
"Entropy" -> Around[0.6736041611399929, 0.015212161002146906], "EntropySampleSize" -> 93]], "Properties"]オプション (3)
ComputeUncertainty (1)
"Multinormal"分布を名義的データ集合で訓練する:
ld = LearnDistribution[{"A", "A", "B", "B", "B"}, Method -> "Multinormal"]名義変数を数値の変数に変換するためには確率的前処理が必要である.確率密度関数(PDF)の計算は近似的である:
PDF[ld, "A"]PDF[ld, "A"]ComputeUncertaintyを使って結果の不確かさを得る:
PDF[ld, "A", ComputeUncertainty -> True]MaxIterationsを大きくして推定精度を上げる:
PDF[ld, "A", MaxIterations -> 1000, ComputeUncertainty -> True]MaxIterations (1)
"Multinormal"分布を名義的データ集合で訓練する:
ld = LearnDistribution[{"A", "A", "B", "B", "B"}, Method -> "Multinormal"]名義変数を数値の変数に変換するためには確率的前処理が必要である.確率密度関数(PDF)の計算は近似的である:
Table[PDF[ld, "A"], 10]MaxIterationsを大きくして推定精度を上げる:
Table[PDF[ld, "A", MaxIterations -> 1000], 10]PerformanceGoal (1)
"Multinormal"分布を名義的データ集合で訓練する:
ld = LearnDistribution[{"A", "A", "B", "B", "B"}, Method -> "Multinormal"]名義変数を数値の変数に変換するためには確率的前処理が必要である.確率密度関数(PDF)の計算は近似的である:
Table[PDF[ld, "A"], 10]PerformanceGoal"Quality"を大きくして推定精度を上げる:
AbsoluteTiming[Table[PDF[ld, "A", PerformanceGoal -> "Quality"], 10]]PerformanceGoal"Speed"と比較する:
AbsoluteTiming[Table[PDF[ld, "A", PerformanceGoal -> "Speed"], 10]]関連するガイド
テキスト
Wolfram Research (2019), LearnedDistribution, Wolfram言語関数, https://reference.wolfram.com/language/ref/LearnedDistribution.html.
CMS
Wolfram Language. 2019. "LearnedDistribution." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LearnedDistribution.html.
APA
Wolfram Language. (2019). LearnedDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LearnedDistribution.html
BibTeX
@misc{reference.wolfram_2026_learneddistribution, author="Wolfram Research", title="{LearnedDistribution}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/LearnedDistribution.html}", note=[Accessed: 30-November-2026]}
BibLaTeX
@online{reference.wolfram_2026_learneddistribution, organization={Wolfram Research}, title={LearnedDistribution}, year={2019}, url={https://reference.wolfram.com/language/ref/LearnedDistribution.html}, note=[Accessed: 30-November-2026]}