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

Method writeData

JSAT/src/jsat/io/JSATData.java:295–298  ·  view source on GitHub ↗

This method writes out a JSAT dataset to a binary format that can be read in again later, and could be read in other languages. The format that is used will understand both ClassificationDataSet and RegressionDataSet datasets as special cases, and will store the target value

(DataSet<Type> dataset, OutputStream outRaw)

Source from the content-addressed store, hash-verified

293 * @throws IOException
294 */
295 public static <Type extends DataSet<Type>> void writeData(DataSet<Type> dataset, OutputStream outRaw) throws IOException
296 {
297 writeData(dataset, outRaw, FloatStorageMethod.AUTO);
298 }
299
300 /**
301 * This method writes out a JSAT dataset to a binary format that can be read

Callers 4

testReadWriteSimpleMethod · 0.95

Calls 11

getMethodMethod · 0.95
getWriterMethod · 0.95
writePointMethod · 0.95
finishMethod · 0.95
getPredictingMethod · 0.80
getCategoriesMethod · 0.80
getNumNumericalVarsMethod · 0.80
getDataPointCategoryMethod · 0.80
getTargetValueMethod · 0.80
getSampleSizeMethod · 0.45
getDataPointMethod · 0.45

Tested by 4

testReadWriteSimpleMethod · 0.76