V
- Vector typepublic class NumericalFeatureSelection<V extends NumberVector> extends java.lang.Object implements Projection<V,V>
Modifier and Type | Class and Description |
---|---|
static class |
NumericalFeatureSelection.Parameterizer<V extends NumberVector>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private int[] |
dims
Subspace.
|
private NumberVector.Factory<V> |
factory
Object factory.
|
private int |
mindim
Minimum dimensionality required for projection.
|
Constructor and Description |
---|
NumericalFeatureSelection(java.util.BitSet bits)
Constructor.
|
NumericalFeatureSelection(int[] dims)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation |
getInputDataTypeInformation()
Input type information.
|
SimpleTypeInformation<V> |
getOutputDataTypeInformation()
Output type restriction
|
void |
initialize(SimpleTypeInformation<? extends V> in)
Initialize
|
V |
project(V data)
Project a single instance.
|
private int mindim
private NumberVector.Factory<V extends NumberVector> factory
private int[] dims
public NumericalFeatureSelection(int[] dims)
dims
- Dimensionspublic NumericalFeatureSelection(java.util.BitSet bits)
bits
- Bitsetpublic void initialize(SimpleTypeInformation<? extends V> in)
Projection
initialize
in interface Projection<V extends NumberVector,V extends NumberVector>
in
- Data type to use for projecting.public V project(V data)
Projection
project
in interface Projection<V extends NumberVector,V extends NumberVector>
data
- Data to projectpublic SimpleTypeInformation<V> getOutputDataTypeInformation()
Projection
getOutputDataTypeInformation
in interface Projection<V extends NumberVector,V extends NumberVector>
public TypeInformation getInputDataTypeInformation()
Projection
getInputDataTypeInformation
in interface Projection<V extends NumberVector,V extends NumberVector>
Copyright © 2019 ELKI Development Team. License information.