Click or drag to resize
Accord.NET (logo)

NaiveBayesLearningBaseTModel, TDistribution, TInput, TOptions, TInnerOptionsFit Method

Fits one of the distributions in the naive bayes model.

Namespace:  Accord.MachineLearning.Bayes
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.6.0
Syntax
protected override void Fit(
	int i,
	TInput[][] values,
	double[] weights,
	bool transposed
)
Request Example View Source

Parameters

i
Type: SystemInt32
values
Type: TInput
weights
Type: SystemDouble
transposed
Type: SystemBoolean
See Also