BayesClassify
Version 1.2.0.0 (6.1 KB) by
Samyukta Ramnath
Classifies text documents into one of five categories
Rrequirements:
1) function fileOpen : also uploaded
2) Training data, text files : To be made by user, directions present in code (as comments)
Classfies text notepad documents into one of five categories, using Naive Bayes algorithm. Uses a probabalistic approach to find the most probable category for the document.
An implementation of Naive Bayes.
Adds correctly classified documents to the training data to learn.
Cite As
Samyukta Ramnath (2026). BayesClassify (https://uk.mathworks.com/matlabcentral/fileexchange/42707-bayesclassify), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Classification in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.