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

Method load

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

This loads a JSAT dataset from an input stream, and will not do any of its own buffering. The DataSet will be returned as either a SimpleDataSet, ClassificationDataSet, or RegressionDataSet depending on what type of dataset was originally written out. @param @para

(InputStream inRaw)

Source from the content-addressed store, hash-verified

490 * @throws IOException
491 */
492 public static DataSet<?> load(InputStream inRaw) throws IOException
493 {
494 return load(inRaw, false);
495 }
496
497 /**
498 * Loads in a JSAT dataset as a {@link SimpleDataSet}. So long as the input

Callers 7

testReadWriteSimpleMethod · 0.95
loadSimpleMethod · 0.95
loadClassificationMethod · 0.95
loadRegressionMethod · 0.95

Calls 9

readStringMethod · 0.95
setCategoryNameMethod · 0.95
setOptionNameMethod · 0.95
readFPMethod · 0.95
setMethod · 0.95
isSparseMethod · 0.95
closeMethod · 0.80
addDataPointMethod · 0.45
addMethod · 0.45

Tested by 4

testReadWriteSimpleMethod · 0.76