PRTools Contents

PRTools User Guide



Stats Naive Bayes Classifier (Matlab Stats Toolbox)

     W = STATSNBC(A,'PARAM1',val1,'PARAM2',val2,...)
     W = A*STATSNBC([],'PARAM1',val1,'PARAM2',val2,...)
    D = B*W

 A Dataset used for training
 PARAM1 Optional parameter, see NAIVEBAYES.FIT
 B Dataset used for evaluation

 W Naive Bayes classifier
 D Classification matrix, dataset with posteriors


This is the PRTools interface to the NaiveBayes classifier of the Matlab  Stats toolbox. See there for more information. It is assumed that objects  labels, feature labels and class priors are included in the dataset A.

After Matlab R2015a PRTools uses FITCNB instead of NAIVEBAYES

See also

datasets, mappings, naivebayes, fitcnb, naivebc,

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.