public abstract class OneToOneTrainableExtractor_ImplBase<OUTCOME_T> extends Object implements TrainableExtractor<OUTCOME_T>
This implementation serves as a base for feature transformation from one feature into another
feature (normalizing, tf*idf, etc). Many to one transformation should extend directly from
TrainableExtractor_ImplBase.
| Constructor and Description |
|---|
OneToOneTrainableExtractor_ImplBase(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isTransformable(Feature feature) |
protected abstract Feature |
transform(Feature feature) |
Instance<OUTCOME_T> |
transform(Instance<OUTCOME_T> instance)
Transforms all features handled by this extractor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitload, save, trainpublic OneToOneTrainableExtractor_ImplBase(String name)
protected boolean isTransformable(Feature feature)
public Instance<OUTCOME_T> transform(Instance<OUTCOME_T> instance)
TrainableExtractorTrainableExtractor.train(Iterable) was called, to complete the processing of the Instance.transform in interface TrainableExtractor<OUTCOME_T>instance - An instance that was created before TrainableExtractor.train(Iterable) was called.Copyright © 2014. All rights reserved.