public static void write(DataSet<?> data,Path path,char delimiter) throws IOException {
  BufferedWriter bw=Files.newBufferedWriter(path,Charset.defaultCharset());
  write(data,bw,delimiter);
  bw.close();
}

public static void write ( DataSet < ? > data , Path path , char delimiter ) throws IOException { BufferedWriter bw = Files . newBufferedWriter ( path , Charset . defaultCharset ( ) ) ; write ( data , bw , delimiter ) ; bw . close ( ) ; }
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 .
