|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aliasi.features.AddFeatureExtractor<E>
E - Type of objects whose features are extractedpublic class AddFeatureExtractor<E>
An AddFeatureExtractor returns feature vectors that result
from summing the feature vectors returned by a collection of
contained feature extractors.
| Constructor Summary | |
|---|---|
AddFeatureExtractor(Collection<? extends FeatureExtractor<? super E>> extractors)
Construct an additive feature extractor from the specified collection of extractors. |
|
AddFeatureExtractor(FeatureExtractor<? super E>... extractors)
Construct an additive feature extractor from the specified extractors. |
|
AddFeatureExtractor(FeatureExtractor<? super E> extractor1,
FeatureExtractor<? super E> extractor2)
Construct an additive feature extractor from the specified pair of extractors. |
|
| Method Summary | |
|---|---|
List<FeatureExtractor<? super E>> |
baseFeatureExtractors()
Returns an unmodifiable view of the list of base feature extractors for this additive feature extractor. |
Map<String,? extends Number> |
features(E in)
Return the feature vector for the specified input. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddFeatureExtractor(Collection<? extends FeatureExtractor<? super E>> extractors)
E.
The collection will be copied locally, so that subsequent changes to the extractor collection supplied to the constructor will not affect the returned feature extractor.
extractors - Collection of feature extractors.
public AddFeatureExtractor(FeatureExtractor<? super E> extractor1,
FeatureExtractor<? super E> extractor2)
extractor1 - First feature extractor.extractor2 - Second feature extractor.public AddFeatureExtractor(FeatureExtractor<? super E>... extractors)
extractors - Variable length list (or a single array) of extractors.| Method Detail |
|---|
public Map<String,? extends Number> features(E in)
FeatureExtractor
features in interface FeatureExtractor<E>in - Input object.
public List<FeatureExtractor<? super E>> baseFeatureExtractors()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||