What sort of support elements does naive bayes classifier need?

1 view (last 30 days)
What sort of support elements does naive bayes classifier need? I've got to insert two of this and not sure what sort of elements tit needs...Please help!!!

Accepted Answer

Tom Lane
Tom Lane on 25 Jan 2013
If you are referring to NaiveBayes.fit and its 'KSSupport' argument, then you can omit this in most cases. You would specify it as [0,1], for example, if you wanted to force the density to be zero outside that range.
If you are referring to something else, please provide more details.
  4 Comments
Lester Lim
Lester Lim on 29 Jan 2013
Does the support refer to the statistical toolbox's support?
Tom Lane
Tom Lane on 29 Jan 2013
It refers to the support of the probability distribution. Search for "support" on this page: http://en.wikipedia.org/wiki/Probability_distribution

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!