T
- Type of object that features can be extracted frompublic static class HomogeneousKernelMap.ExtractorWrapper<T> extends Object implements FeatureExtractor<DoubleFV,T>
FeatureExtractor
that wraps another
FeatureExtractor
and then applies the
HomogeneousKernelMap
to the output before returning the vector.Constructor and Description |
---|
HomogeneousKernelMap.ExtractorWrapper(FeatureExtractor<? extends FeatureVector,T> inner,
HomogeneousKernelMap map)
Construct with the given internal extractor and homogeneous kernel
map.
|
public HomogeneousKernelMap.ExtractorWrapper(FeatureExtractor<? extends FeatureVector,T> inner, HomogeneousKernelMap map)
inner
- the internal extractormap
- the homogeneous kernel mappublic DoubleFV extractFeature(T object)
FeatureExtractor
extractFeature
in interface FeatureExtractor<DoubleFV,T>
object
- the object to extract from