public interface DataSet extends Collection<DataExample>
dataExample.getInputSize() == a
dataExample.getTargetSize() == b
a and b are fixed non-negative integers.| Modifier and Type | Method and Description |
|---|---|
DataExample |
get(int index)
Returns a data example at specified position.
|
int |
getInputSize()
Returns the size of input vectors in this data set.
|
int |
getTargetSize()
Return the size of target vectors in this data set.
|
boolean |
isSupervised()
Returns
true if this data set is supervised. |
DataExample get(int index)
index - the data example position. Cannot be negative.int getInputSize()
int getTargetSize()
boolean isSupervised()
true if this data set is supervised. The data
set is supervised if and only if all underlying data examples are supervised.true if this data set is supervisedCopyright © 2012. All Rights Reserved.