PRTools Contents

PRTools User Guide

statsnbc

STATSNBC

Stats Naive Bayes Classifier (Matlab Stats Toolbox)

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

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

Output
 W Naive Bayes classifier
 D Classification matrix, dataset with posteriors

Description

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.

See also

datasets, mappings, naivebayes, naivebc,

PRTools Contents

PRTools User Guide

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