Clear Filters
Clear Filters

classification problem using bayes classifier

1 view (last 30 days)
I have to classify an object into two regions based on two features. I have calculate the probability of each classes and conditional probabilities of each features to occur in each class. Now what is the condition based on which, it belong to a particular class.

Accepted Answer

Image Analyst
Image Analyst on 12 Jan 2014
You have a training set where you know how many regions there are and what classes they belong to. From that you can easily determine the probability.
Then, for a test image, you calculate the probability that your test region belongs to each class, and assign it to the class that it has higher probability of belonging to.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!