V
- Vector typepublic class NumericalFeatureSelection<V extends NumberVector<V,?>> extends Object implements Projection<V,V>
Modifier and Type | Field and Description |
---|---|
private BitSet |
bits
Subspace
|
private int |
dimensionality
Output dimensionality
|
private V |
factory
Object factory
|
private int |
mindim
Minimum dimensionality required for projection
|
Constructor and Description |
---|
NumericalFeatureSelection(BitSet bits,
V factory)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation |
getInputDataTypeInformation()
Input type information.
|
SimpleTypeInformation<V> |
getOutputDataTypeInformation()
Output type restriction
|
V |
project(V data)
Project a single instance.
|
private int mindim
private V extends NumberVector<V,?> factory
private int dimensionality
private BitSet bits
public V project(V data)
Projection
project
in interface Projection<V extends NumberVector<V,?>,V extends NumberVector<V,?>>
data
- Data to projectpublic SimpleTypeInformation<V> getOutputDataTypeInformation()
Projection
getOutputDataTypeInformation
in interface Projection<V extends NumberVector<V,?>,V extends NumberVector<V,?>>
public TypeInformation getInputDataTypeInformation()
Projection
getInputDataTypeInformation
in interface Projection<V extends NumberVector<V,?>,V extends NumberVector<V,?>>