public abstract class DataSet extends java.lang.Object implements java.lang.Iterable<Example>
Modifier and Type | Method and Description |
---|---|
abstract int |
getNumExamples()
Gets the number of examples in the dataset
(might change over time).
|
int |
getNumFeatures()
Gets the number of features of
each example.
|
java.lang.String |
toString()
Produces a a representation of the whole dataset
in LibSVM format (each example on its own line)
|
public final int getNumFeatures()
public final java.lang.String toString()
toString
in class java.lang.Object
public abstract int getNumExamples()