|
NaiveBayesTDistribution Constructor (Int32, Int32, TDistribution, Double)
|
Note: This API is now obsolete.
Constructs a new Naïve Bayes Classifier.
Namespace:
Accord.MachineLearning.Bayes
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Please specify priors using the Priors property.")]
public NaiveBayes(
int inputs,
int classes,
TDistribution[][] initial,
double[] priors
)
<ObsoleteAttribute("Please specify priors using the Priors property.")>
Public Sub New (
inputs As Integer,
classes As Integer,
initial As TDistribution()(),
priors As Double()
)
Request Example
View SourceParameters
- inputs
- Type: SystemInt32
The number of input variables. - classes
- Type: SystemInt32
The number of output classes. - 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.
- priors
- Type: SystemDouble
Obsolete
See Also