Click or drag to resize
Accord.NET (logo)

NaiveBayes Constructor (Int32, Int32)

Constructs a new Naïve Bayes Classifier.

Namespace:  Accord.MachineLearning.Bayes
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public NaiveBayes(
	int classes,
	params int[] symbols
)
Request Example View Source

Parameters

classes
Type: SystemInt32
The number of output classes.
symbols
Type: SystemInt32
The number of symbols for each input variable.
See Also