//
//One Class SVM command
// 
//This command is used to detect anomaly data.
//

//Syntax  
onesvm x y;

//Example  
//Read 2D data
get data2d.csv@;
//plot 2D data
plot scat dmy_1-2/
  marker=OF
  color=red
;


//detect anomaly points of data get data2d.csv@; onesvm dmy_1-2/ num=100 eps=0.005 loop=1000 ; anaput ana1; //show 3D z axis of anomaly points by one class SVM get ana1; plot scat dmy_1-2 fx/ marker=OF color=blue ;