Bayesian Classifier (How many features is best ?)
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
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Deep Learning Toolbox > Train Deep Neural Networks > Function Approximation, Clustering, and Control > Function Approximation and Clustering > Pattern Recognition >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Added Thumbnail |
