Package elki.data.projection
Interface Projection<IN,OUT>
-
- Type Parameters:
IN- Input data typeOUT- Output data type
- All Known Implementing Classes:
FeatureSelection,LatLngToECEFProjection,LngLatToECEFProjection,NumericalFeatureSelection,RandomProjection
public interface Projection<IN,OUT>Projection interface.- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeInformationgetInputDataTypeInformation()Input type information.SimpleTypeInformation<OUT>getOutputDataTypeInformation()Output type restrictionvoidinitialize(SimpleTypeInformation<? extends IN> in)InitializeOUTproject(IN data)Project a single instance.
-
-
-
Method Detail
-
initialize
void initialize(SimpleTypeInformation<? extends IN> in)
Initialize- Parameters:
in- Data type to use for projecting.
-
project
OUT project(IN data)
Project a single instance.- Parameters:
data- Data to project- Returns:
- Projected data
-
getInputDataTypeInformation
TypeInformation getInputDataTypeInformation()
Input type information.- Returns:
- Type restriction
-
getOutputDataTypeInformation
SimpleTypeInformation<OUT> getOutputDataTypeInformation()
Output type restriction- Returns:
- Output type
-
-