V
- Vector typeF
- Feature typepublic class FeatureSelection<V extends FeatureVector<V,F>,F> extends AbstractFeatureSelection<V,F>
Modifier and Type | Field and Description |
---|---|
private int |
dimensionality
Output dimensionality
|
private V |
factory
Object factory
|
private int |
mindim
Minimum dimensionality required for projection
|
adapter
Constructor and Description |
---|
FeatureSelection(int[] dims,
V factory)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private static <V extends FeatureVector<V,F>,F> |
getAdapter(V factory)
Choose the best adapter for this.
|
TypeInformation |
getInputDataTypeInformation()
Input type information.
|
SimpleTypeInformation<V> |
getOutputDataTypeInformation()
Output type restriction
|
project
private int mindim
private V extends FeatureVector<V,F> factory
private int dimensionality
public FeatureSelection(int[] dims, V factory)
dims
- Dimensionsfactory
- Object factoryprivate static <V extends FeatureVector<V,F>,F> ArrayAdapter<F,? super V> getAdapter(V factory)
factory
- Object factory, for type inferencepublic SimpleTypeInformation<V> getOutputDataTypeInformation()
Projection
getOutputDataTypeInformation
in interface Projection<V extends FeatureVector<V,F>,V extends FeatureVector<V,F>>
getOutputDataTypeInformation
in class AbstractFeatureSelection<V extends FeatureVector<V,F>,F>
public TypeInformation getInputDataTypeInformation()
Projection
getInputDataTypeInformation
in interface Projection<V extends FeatureVector<V,F>,V extends FeatureVector<V,F>>
getInputDataTypeInformation
in class AbstractFeatureSelection<V extends FeatureVector<V,F>,F>