MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / write

Method write

JSAT/src/jsat/io/CSV.java:620–623  ·  view source on GitHub ↗

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. After that, all numeric features will be written out in order, followed by the categor

(DataSet<?> data, Path path)

Source from the content-addressed store, hash-verified

618 * @throws IOException
619 */
620 public static void write(DataSet<?> data, Path path) throws IOException
621 {
622 write(data, path, DEFAULT_DELIMITER);
623 }
624
625 /**
626 * Writes out the given dataset as a CSV file. If the given dataset is a

Callers 7

testWriteReadMethod · 0.95
writeArffFileMethod · 0.45
writeCatVarMethod · 0.45
pointToBytesMethod · 0.45
writeHeaderMethod · 0.45
writeStringMethod · 0.45

Calls 13

getSafeNamesMethod · 0.95
getNumericalValuesMethod · 0.95
getCategoricalValuesMethod · 0.95
lengthMethod · 0.95
getMethod · 0.95
closeMethod · 0.80
getCategoriesMethod · 0.80
getPredictingMethod · 0.80
getDataPointCategoryMethod · 0.80
getTargetValueMethod · 0.80
toStringMethod · 0.65
getSampleSizeMethod · 0.45

Tested by 2

testWriteReadMethod · 0.76