Naive Bayes matlab, row classification
- by Jungle Boogie
How do you classify a row of seperate cells in matlab?
Atm I can classify single coloums like so:
training = [1;0;-1;-2;4;0;1]; % this is the sample data.
target_class = ['posi';'zero';'negi';'negi';'posi';'zero';'posi'];
% target_class are the different target classes for the training data; here 'positive' and 'negetive' are the two classes for…