Dear all, I attached work space of train, test, and validate and spe==groups
When apply NaiveBayes on matlab as following:
NaiveBa=NaiveBayes.fit(Train,spe);
class2 = predict(NaiveBa,validate);
class1 = predict(NaiveBa,Test);
I got the following error
Error using NaiveBayes.fit (line 11)
TRAINING must be numeric. NaiveBa=NaiveBayes.fit(Train,spe);
Thanks for help.