Bayesian Classifier (How many features is best ?)

A Bayesian Classifier for answering the question: "does more features always mean higher accuracy?"
252 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 (2026). 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
Version Published Release Notes
1.0.0.0

Added Thumbnail