org.itc.irst.tcc.sre.kernel.expl
Interface Mapping

All Known Implementing Classes:
ContextMapping, GlobalContextMapping, LocalContextMapping, ShallowLinguisticMapping

public interface Mapping

An object that maps an example set into a feature space.

Since:
1.0
Version:
%I%, %G%
Author:
Claudio Giuliano

Method Summary
 VectorSet map(ExampleSet data, FeatureIndex[] index)
          Maps the specified example set into a feature space.
 void setParameters(java.util.Properties parameters)
          Set the parameters to the mapping.
 

Method Detail

setParameters

void setParameters(java.util.Properties parameters)
Set the parameters to the mapping.

Parameters:
parameters - the specified parameters

map

VectorSet map(ExampleSet data,
              FeatureIndex[] index)
              throws java.lang.IllegalArgumentException
Maps the specified example set into a feature space.

Parameters:
data - input example set.
index - index of the feature spase.
Returns:
a feature space.
Throws:
java.lang.IllegalArgumentException - if the the specified example set is illegal or inappropriate.