|
NaiveBayesNormal Method (Int32, Int32, Double)
|
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,
double[] classPriors
)
Public Shared Function Normal (
classes As Integer,
inputs As Integer,
classPriors As Double()
) As NaiveBayes(Of NormalDistribution)
Request Example
View SourceParameters
- classes
- Type: SystemInt32
The number of output classes. - inputs
- Type: SystemInt32
The number of input variables. - classPriors
- Type: SystemDouble
The prior probabilities for each output class.
Return Value
Type:
NaiveBayesNormalDistributionSee Also