MCPcopy Index your code
hub / github.com/EdwardRaff/JSAT / loadArffFile

Method loadArffFile

JSAT/src/jsat/ARFFLoader.java:34–45  ·  view source on GitHub ↗

Uses the given file path to load a data set from an ARFF file. @param file the path to the ARFF file to load @return the data set from the ARFF file, or null if the file could not be loaded.

(File file)

Source from the content-addressed store, hash-verified

32 * @return the data set from the ARFF file, or null if the file could not be loaded.
33 */
34 public static SimpleDataSet loadArffFile(File file)
35 {
36 try
37 {
38 return loadArffFile(new FileReader(file));
39 }
40 catch (FileNotFoundException ex)
41 {
42 Logger.getLogger(ARFFLoader.class.getName()).log(Level.SEVERE, null, ex);
43 return null;
44 }
45 }
46
47 /**
48 * Uses the given reader to load a data set assuming it follows the ARFF

Callers

nothing calls this directly

Calls 15

nameTrimMethod · 0.95
setMethod · 0.95
logMethod · 0.80
setCategoryNameMethod · 0.80
setOptionNameMethod · 0.80
findMethod · 0.80
parseDoubleMethod · 0.80
setNumericNameMethod · 0.80
getNameMethod · 0.65
sizeMethod · 0.65
equalsMethod · 0.65
getMethod · 0.45

Tested by

no test coverage detected