|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FeatureSelector
FeatureSelector selects features that are accurate and of interest
| Method Summary | |
|---|---|
int[] |
getIndices()
Returns the indices of the selected features (an index is between 0 and one less than the number of features). |
float[][] |
selectFeatures(float[][] data,
int[] targets)
Stores features from data and store any relevant values such as the dimensions of data and targets. |
float[][] |
selectFeaturesGivenIndices(float[][] data,
int[] indices)
Selects features using indices and returns the selected features. |
void |
setParameters(java.util.HashMap<java.lang.String,java.lang.String> para)
Sets algorithm parameters from para |
| Method Detail |
|---|
void setParameters(java.util.HashMap<java.lang.String,java.lang.String> para)
para - Each element of the hashmap holds a parameter name
for its key and a its value is that of the parameter.
The parameters should be the same as those in the
algorithms.xml file.
float[][] selectFeatures(float[][] data,
int[] targets)
data - Two-dimensional array of extracted image datatargets - Array of the targets for the image
int[] getIndices()
float[][] selectFeaturesGivenIndices(float[][] data,
int[] indices)
data - Two-dimensional array of extracted image dataindices - Array of indices to the data columns
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||