public static void write(DataSet<?> data,Path path) throws IOException {
  write(data,path,DEFAULT_DELIMITER);
}

public static void write ( DataSet < ? > data , Path path ) throws IOException { write ( data , path , DEFAULT_DELIMITER ) ; }
writes out the given dataset as a csv file . if the given dataset is a regression or classification dataset , the target feature that is being predicted will always be written out as the first index in the csv . < br > after that , all numeric features will be written out in order , followed by the categorical features .
