Click or drag to resize
Accord.NET (logo)

NaiveBayesLearningBaseTModel, TDistribution, TInput, TOptionsCreate Method

Creates an instance of the model to be learned. Inheritors of this abstract class must define this method so new models can be created from the training data.

Namespace:  Accord.MachineLearning.Bayes
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
protected abstract TModel Create(
	TInput[][] x,
	int y
)
Request Example View Source

Parameters

x
Type: TInput
y
Type: SystemInt32

Return Value

Type: TModel
See Also