
V - Vector typepublic abstract class AbstractSupervisedProjectionVectorFilter<V extends NumberVector> extends Object implements ObjectFilter
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractSupervisedProjectionVectorFilter.Parameterizer<V extends NumberVector>
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
protected int |
tdim
The dimensionality to which the data should be reduced.
|
| Constructor and Description |
|---|
AbstractSupervisedProjectionVectorFilter(int projdimension)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Matrix |
computeProjectionMatrix(List<V> vectorcolumn,
List<? extends ClassLabel> classcolumn,
int dim)
computes the projection matrix
|
protected SimpleTypeInformation<?> |
convertedType(SimpleTypeInformation<?> in,
NumberVector.Factory<V> factory)
Get the output type from the input type after conversion.
|
MultipleObjectsBundle |
filter(MultipleObjectsBundle objects)
Filter a set of object packages.
|
protected abstract Logging |
getLogger()
Class logger.
|
protected <O> Map<O,TIntList> |
partition(List<? extends O> classcolumn)
Partition the bundle based on the class label.
|
public AbstractSupervisedProjectionVectorFilter(int projdimension)
projdimension - Projection dimensionalitypublic MultipleObjectsBundle filter(MultipleObjectsBundle objects)
ObjectFilterfilter in interface ObjectFilterobjects - Object to filterprotected SimpleTypeInformation<?> convertedType(SimpleTypeInformation<?> in, NumberVector.Factory<V> factory)
in - input type restrictionfactory - Vector factoryprotected abstract Logging getLogger()
protected abstract Matrix computeProjectionMatrix(List<V> vectorcolumn, List<? extends ClassLabel> classcolumn, int dim)
vectorcolumn - Vectorsclasscolumn - Class informationdim - Dimensionality DimensionalityCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.