Click or drag to resize
Accord.NET (logo)

NaiveBayesLearningBaseTModel, TDistribution, TInput, TOptionsDistribution Property

Gets or sets the distribution creation function. This function can be used to specify how the initial distributions of the model should be created. By default, this function attempts to call the empty constructor of the distribution using Activator.CreateInstance().

Namespace:  Accord.MachineLearning.Bayes
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public Func<int, int, TDistribution> Distribution { get; set; }
Request Example View Source

Property Value

Type: FuncInt32, Int32, TDistribution
See Also