MATLAB File Help: prtDataSetClass/prtDataSetClass
prtDataSetClass/prtDataSetClass
  prtDataSetClass Constructor for class prtDataSetClass
 
  class = prtDataSetClass(X,Y)
    Create a prtDataSetClass object with data X and targets Y.
    X shouls be a #obs x #feat matrix, and Y should be a #obs x
    1 vector of target labels.
 
  class = prtDataSetClass(X,Y,field1,val1,field2,val2,...)
    As above, but also set additional public fields field1,
    field2,... to values val1, val2, etc.
 
  x = randn(100,2);
  y = prtUtilY(50,50);
  ds = prtDataSetClass(x,y);
  plot(ds); % An unseparable data set
 
  x = randn(100,2);
  y = prtUtilY(50,50);
  ds = prtDataSetClass(x,y,'name','My Data Set');
  plot(ds); % An unseparable data set