| NaiveBayesClassifier Methods |
The NaiveBayesClassifier type exposes the following members.
| Name | Description | |
|---|---|---|
| ClassError |
Returns the classification probability error for the input pattern and
known target classification.
| |
| CreateContinuousAttribute(IProbabilityDistribution) |
Create a continuous variable and the associated distribution function.
| |
| CreateContinuousAttribute(IProbabilityDistribution) |
Create a continuous variable and the associated distribution functions for
each target classification.
| |
| CreateNominalAttribute |
Create a nominal attribute and the number of categories
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetClassCounts |
Returns the number of patterns for each target classification.
| |
| GetClassificationErrors |
Returns the classification probability errors for each pattern in the
training data.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetMeans |
Returns a table of means for each continuous attribute in
continuousData segmented by the target classes in
classificationData.
| |
| GetPredictedClass |
Returns the predicted classification for each training pattern.
| |
| GetProbabilities |
Returns the predicted classification probabilities for each target
class.
| |
| GetStandardDeviations |
Returns a table of standard deviations for each continuous attribute in
continuousData segmented by the target classes in
classificationData.
| |
| GetTrainingErrors |
Returns a table of classification errors of non-missing
classifications for each target classification plus the overall total
of classification errors.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IgnoreMissingValues |
Specifies whether or not missing values will be ignored during the training
process.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| PredictClass |
Predicts the classification for the input pattern using the
trained Naive Bayes classifier.
| |
| Probabilities |
Predicts the classification probabilities for the input pattern using the
trained Naive Bayes classifier.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Train |
Trains a Naive Bayes classifier for classifying data into one of
nClasses target classifications.
|