public class FeatureHasher extends Object implements FeatureTransformer
Constructor and Description |
---|
FeatureHasher(int dimension) |
Modifier and Type | Method and Description |
---|---|
com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance |
getProvenance() |
List<Feature> |
map(String tag,
List<Feature> features)
Transforms features into a new list of features
|
public List<Feature> map(String tag, List<Feature> features)
FeatureTransformer
map
in interface FeatureTransformer
tag
- The feature name tag.features
- The features to transform.public com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance getProvenance()
getProvenance
in interface com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.