public class DoubleVectorProjectionFilter extends AbstractFeatureSelectionFilter<DoubleVector>
Parser to project the ParsingResult obtained by a suitable base parser onto a selected subset of attributes.
Modifier and Type | Class and Description |
---|---|
static class |
DoubleVectorProjectionFilter.Parameterizer
Parameterization class.
|
BundleStreamSource.Event
SELECTED_ATTRIBUTES_ID
column, meta
source
Constructor and Description |
---|
DoubleVectorProjectionFilter(BitSet selectedAttributes)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected SimpleTypeInformation<? super DoubleVector> |
convertedType(SimpleTypeInformation<DoubleVector> in)
Get the output type from the input type after conversion.
|
protected DoubleVector |
filterSingleObject(DoubleVector obj)
Normalize a single instance.
|
protected SimpleTypeInformation<? super DoubleVector> |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
getDimensionality, getSelectedAttributes, setSelectedAttributes
data, getMeta, nextEvent
filter, init
public DoubleVectorProjectionFilter(BitSet selectedAttributes)
selectedAttributes
- protected DoubleVector filterSingleObject(DoubleVector obj)
AbstractStreamConversionFilter
filterSingleObject
in class AbstractStreamConversionFilter<DoubleVector,DoubleVector>
obj
- Database object to normalizeprotected SimpleTypeInformation<? super DoubleVector> getInputTypeRestriction()
AbstractStreamConversionFilter
getInputTypeRestriction
in class AbstractStreamConversionFilter<DoubleVector,DoubleVector>
protected SimpleTypeInformation<? super DoubleVector> convertedType(SimpleTypeInformation<DoubleVector> in)
AbstractStreamConversionFilter
convertedType
in class AbstractStreamConversionFilter<DoubleVector,DoubleVector>
in
- input type restriction