display(cl): the display function for the Decision Tree classifier class.
0001 function display(cl) 0002 % display(cl): the display function for the Decision Tree classifier class. 0003 0004 disp('Best Decision Stump classifier'); 0005 0006 if cl.isTrained 0007 disp(' Best Decision Stump Classifier is trained'); 0008 disp(cl.trainedCl); 0009 else 0010 disp(' Best Decision Stump Classifier is NOT trained'); 0011 end