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

Method loadR

JSAT/src/jsat/io/LIBSVMLoader.java:60–63  ·  view source on GitHub ↗

Loads a new regression data set from a LIBSVM file, assuming the label is a numeric target value to predict @param file the file to load @return a regression data set @throws FileNotFoundException if the file was not found @throws IOException if an error occurred reading the input stream

(File file)

Source from the content-addressed store, hash-verified

58 * @throws IOException if an error occurred reading the input stream
59 */
60 public static RegressionDataSet loadR(File file) throws FileNotFoundException, IOException
61 {
62 return loadR(file, 0.5);
63 }
64
65 /**
66 * Loads a new regression data set from a LIBSVM file, assuming the label is

Callers 1

testLoadR_FileMethod · 0.95

Calls 1

loadGMethod · 0.95

Tested by 1

testLoadR_FileMethod · 0.76