// //Reject variable command // //This command is used to delete variable. //Syntax reject [variables]; //Example 1 //Read monk data. get monk1.csv@;
push table button to show readed data
view input data
//aic analysis for status by m1 m2 m3 m4 m5 m6; aic status by m1-6/ m1:code m2:code m3:code m4:code m5:code m6:code status:code ;
push analysis button to show output
View aic analysis.
//Reject variable because of aic value is positive. reject m3 m6 m2;
push table button to show readed data
view data that is rejected variables.
//Define variable type to apply naive bayes analysis. attr name type/ status code m1 code m4 code m5 code ; //Execute naive bayes analysis. nbayes status by m1 m4 m5; //View effecient chart. get freq@ana; plot line bayesRate by countRate;
View effeciency of naive bayes.
//Read monk data again for tree analysis. get monk1.csv@; //Execute tree analysis tree status by m1-5/ target/1,0 m1:code m2:code m3:code m4:code m5:code terminal=5 ;
push analysis button to show output
View tree analysis.
//View effeciency comparison between naive bayes analysis with tree analysis. get freq@ana; over line distincRate by countRate;
View effeciency comparison between naive bayes with tree analysis.