display(svmCl): the display function for the svm classifier class.
0001 function display(svmCl) 0002 % display(svmCl): the display function for the svm classifier class. 0003 0004 disp('SVM Classifier'); 0005 0006 if isstruct(svmCl.trainedSVM) 0007 disp(' classifier is trained'); 0008 disp(svmCl.trainedSVM); 0009 else 0010 disp(' classifier is not trained'); 0011 end 0012 0013 disp('Libsvm training options:') 0014 disp(svmCl.libSvmTrnOpts); 0015 0016 disp('Libsvm predict options:') 0017 disp(svmCl.libSvmPrdOpts);