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

Method getSubset

JSAT/src/jsat/SimpleDataSet.java:72–79  ·  view source on GitHub ↗
(List<Integer> indicies)

Source from the content-addressed store, hash-verified

70 }
71
72 @Override
73 protected SimpleDataSet getSubset(List<Integer> indicies)
74 {
75 SimpleDataSet newData = new SimpleDataSet(categories, numNumerVals);
76 for(int i : indicies)
77 newData.add(getDataPoint(i));
78 return newData;
79 }
80
81 /**
82 * Converts this dataset into one meant for classification problems. The

Callers

nothing calls this directly

Calls 2

addMethod · 0.95
getDataPointMethod · 0.95

Tested by

no test coverage detected