|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.datasource.filter.AbstractConversionFilter<V,V> de.lmu.ifi.dbs.elki.datasource.filter.AbstractFeatureSelectionFilter<V>
V
- the type of FeatureVector contained in both the original and
projected data.public abstract class AbstractFeatureSelectionFilter<V extends FeatureVector<?,?>>
A ProjectionParser projects the objects of its base parser onto a subspace specified by a BitSet.
Nested Class Summary | |
---|---|
static class |
AbstractFeatureSelectionFilter.Parameterizer<V extends NumberVector<V,?>>
Parameterization class. |
Field Summary | |
---|---|
static OptionID |
SELECTED_ATTRIBUTES_ID
Selected attributes parameter. |
private BitSet |
selectedAttributes
Keeps the selection of the subspace to project onto. |
Constructor Summary | |
---|---|
AbstractFeatureSelectionFilter(BitSet selectedAttributes)
Constructor. |
Method Summary | |
---|---|
int |
getDimensionality()
Get the resulting dimensionality. |
BitSet |
getSelectedAttributes()
Provides a BitSet with the bits set to true corresponding to the selected attributes in SELECTED_ATTRIBUTES_ID . |
void |
setSelectedAttributes(BitSet selectedAttributes)
Sets the bits set to true in the given BitSet as selected attributes in SELECTED_ATTRIBUTES_ID . |
Methods inherited from class de.lmu.ifi.dbs.elki.datasource.filter.AbstractConversionFilter |
---|
convertedType, filter, filterSingleObject, getInputTypeRestriction, prepareComplete, prepareProcessInstance, prepareStart |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final OptionID SELECTED_ATTRIBUTES_ID
Selected attributes parameter.
Key: -projectionfilter.selectedattributes
private BitSet selectedAttributes
Constructor Detail |
---|
public AbstractFeatureSelectionFilter(BitSet selectedAttributes)
selectedAttributes
- Method Detail |
---|
public void setSelectedAttributes(BitSet selectedAttributes)
Sets the bits set to true in the given BitSet as selected attributes in
SELECTED_ATTRIBUTES_ID
.
selectedAttributes
- the new selected attributespublic BitSet getSelectedAttributes()
Provides a BitSet with the bits set to true corresponding to the selected
attributes in SELECTED_ATTRIBUTES_ID
.
public int getDimensionality()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |