Bayesian Classifier (How many features is best ?)

A Bayesian Classifier for answering the question: "does more features always mean higher accuracy?"
248 Downloads
Updated 8 Apr 2017

View License

In machine learning, is it always true that you will achieve higher classification accuracy if you use more features ? In other words, does more features always mean higher accuracy ?
This is the question that I'm going to analyze and answer in my blog post: http://heraqi.blogspot.com.eg/2015/11/is-more-features-the-better.html. I hope you find it useful. Please let me know if you have any questions in the comments, I will be happy to answer.
For that we will use the Skin Segmentation Dataset (Rajen Bhatt, Abhinav Dhall, UCI Machine Learning Repository) and the Naive Bayesian Classifier. I implement the Bayesian classifier, and no libraries or Toolboxes are used.

Cite As

Hesham Eraqi (2024). Bayesian Classifier (How many features is best ?) (https://www.mathworks.com/matlabcentral/fileexchange/58742-bayesian-classifier-how-many-features-is-best), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Added Thumbnail