Class MultivariateTimeSeriesFilter<V extends FeatureVector<?>>
- java.lang.Object
-
- elki.datasource.filter.AbstractStreamFilter
-
- elki.datasource.filter.AbstractStreamConversionFilter<V,V>
-
- elki.datasource.filter.typeconversions.MultivariateTimeSeriesFilter<V>
-
- Type Parameters:
V
- Vector type
- All Implemented Interfaces:
BundleStreamSource
,ObjectFilter
,StreamFilter
public class MultivariateTimeSeriesFilter<V extends FeatureVector<?>> extends AbstractStreamConversionFilter<V,V>
Class to "fold" a flat number vector into a multivariate time series.- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface elki.datasource.bundle.BundleStreamSource
BundleStreamSource.Event
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
variates
Number of variates to use.-
Fields inherited from class elki.datasource.filter.AbstractStreamFilter
source
-
-
Constructor Summary
Constructors Constructor Description MultivariateTimeSeriesFilter(int variates)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SimpleTypeInformation<? super V>
convertedType(SimpleTypeInformation<V> in)
Get the output type from the input type after conversion.protected V
filterSingleObject(V obj)
Normalize a single instance.protected SimpleTypeInformation<? super V>
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.-
Methods inherited from class elki.datasource.filter.AbstractStreamConversionFilter
data, getMeta, nextEvent
-
Methods inherited from class elki.datasource.filter.AbstractStreamFilter
asMultipleObjectsBundle, assignDBID, filter, hasDBIDs, init, toString
-
-
-
-
Method Detail
-
filterSingleObject
protected V filterSingleObject(V obj)
Description copied from class:AbstractStreamConversionFilter
Normalize a single instance. You can implement this as UnsupportedOperationException if you override both public "normalize" functions!- Specified by:
filterSingleObject
in classAbstractStreamConversionFilter<V extends FeatureVector<?>,V extends FeatureVector<?>>
- Parameters:
obj
- Database object to normalize- Returns:
- Normalized database object
-
getInputTypeRestriction
protected SimpleTypeInformation<? super V> getInputTypeRestriction()
Description copied from class:AbstractStreamConversionFilter
Get the input type restriction used for negotiating the data query.- Specified by:
getInputTypeRestriction
in classAbstractStreamConversionFilter<V extends FeatureVector<?>,V extends FeatureVector<?>>
- Returns:
- Type restriction
-
convertedType
protected SimpleTypeInformation<? super V> convertedType(SimpleTypeInformation<V> in)
Description copied from class:AbstractStreamConversionFilter
Get the output type from the input type after conversion.- Specified by:
convertedType
in classAbstractStreamConversionFilter<V extends FeatureVector<?>,V extends FeatureVector<?>>
- Parameters:
in
- input type restriction- Returns:
- output type restriction
-
-