Click or drag to resize
NaiveBayesClassifierProbabilities Method
Predicts the classification probabilities for the input pattern using the trained Naive Bayes classifier.

Namespace: Imsl.DataMining
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public double[] Probabilities(
	double[] continuous,
	int[] nominal
)

Parameters

continuous
Type: SystemDouble
A double array containing an input pattern of nContinuous continuous attributes. If nContinuous = 0, a null is allowed.
nominal
Type: SystemInt32
An int array of length nNominal containing an input pattern of nominal attributes. If nNominal = 0, a null is allowed.

Return Value

Type: Double
a double array of length nClasses containing the predicted classification probabilities for each target class.
See Also