Skip to Main Content Skip to Search
Product Documentation

Dist property - Class: NaiveBayes

Distribution names

Description

The Dist property is a string or a 1-by-NDims cell array of strings indicating the types of distributions for all the features. If all the features use the same type of distribution, Dist is a single string. Otherwise Dist(j) indicates the distribution type used for the jth feature.

The valid strings for this property are the following:

'normal'Normal distribution.
'kernel'Kernel smoothing density estimate.
'mvmn'Multivariate multinomial distribution.
'mn'Multinomial bag-of-tokens model.

  


 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS