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
Syntax
[ObsoleteAttribute("Please use Decide instead.")]
public int Compute(
	int[] input
)
Request Example View Source

Parameters

input
Type: SystemInt32
The input instance.

Return Value

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