NaiveBayes.Compute Method (Int32[])
Click or drag to resize
Accord.NET (logo)

NaiveBayesCompute Method (Int32)

Note: This API is now obsolete.

Computes the most likely class for a given instance.

Namespace:  Accord.MachineLearning.Bayes
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
[ObsoleteAttribute("Please use Decide instead.")]
public int Compute(
	int[] input
Request Example View Source


Type: SystemInt32
The input instance.

Return Value

Type: Int32
The most likely class for the instance.
See Also