|
NaiveBayesNormal Method (Int32, Int32, NormalDistribution)
|
Constructs a new Naïve Bayes Classifier.
Namespace:
Accord.MachineLearning.Bayes
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax public static NaiveBayes<NormalDistribution> Normal(
int classes,
int inputs,
NormalDistribution initial
)
Public Shared Function Normal (
classes As Integer,
inputs As Integer,
initial As NormalDistribution
) As NaiveBayes(Of NormalDistribution)
Request Example
View SourceParameters
- classes
- Type: SystemInt32
The number of output classes. - inputs
- Type: SystemInt32
The number of input variables. - initial
- Type: Accord.Statistics.Distributions.UnivariateNormalDistribution
An initial distribution to be used to initialized all independent
distribution components of this Naive Bayes. This distribution will
be cloned and made available in the Distributions property.
Return Value
Type:
NaiveBayesNormalDistributionSee Also