FEATURE
- INPUT
- public class FeatureExtractionFunction<FEATURE,INPUT> extends Object implements FeatureExtractor<FEATURE,INPUT>
Constructor and Description |
---|
FeatureExtractionFunction(Function<INPUT,FEATURE> func) |
Modifier and Type | Method and Description |
---|---|
FEATURE |
extractFeature(INPUT object)
Extract features from an object and return them.
|
static <FEATURE,INPUT> |
wrap(Function<INPUT,FEATURE> func) |
public FeatureExtractionFunction(Function<INPUT,FEATURE> func)
public FEATURE extractFeature(INPUT object)
FeatureExtractor
extractFeature
in interface FeatureExtractor<FEATURE,INPUT>
object
- the object to extract frompublic static <FEATURE,INPUT> FeatureExtractionFunction<FEATURE,INPUT> wrap(Function<INPUT,FEATURE> func)