public interface LabelledDataProvider
Modifier and Type | Method and Description |
---|---|
boolean[] |
getClasses() |
float[] |
getFeatureResponse(int dimension)
Get the response for all items for a specific dimension of each feature
vector
|
float[] |
getInstanceFeature(int idx)
Get the feature vector for a specific instance
|
int[] |
getSortedResponseIndices(int d)
Get the indices of the responses corresponding to a specific dimension
for all items ordered such that the responses are ascending.
|
int |
numDimensions() |
int |
numInstances() |
float[] getFeatureResponse(int dimension)
dimension
- the dimension to selectfloat[] getInstanceFeature(int idx)
idx
- the index of the instanceboolean[] getClasses()
int numInstances()
int numDimensions()
int[] getSortedResponseIndices(int d)
d
- the dimension to select