Click or drag to resize
Accord.NET (logo)

NaiveBayesTDistribution Constructor (Int32, Int32, TDistribution)

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,
	int inputs,
	TDistribution[] initial
)
Request Example View Source

Parameters

classes
Type: SystemInt32
The number of output classes.
inputs
Type: SystemInt32
The number of input variables.
initial
Type: TDistribution
An initial distribution to be used to initialized all independent distribution components of this Naive Bayes. Those distributions will made available in the Distributions property.
See Also