public abstract class FeatureSet<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableList<String> |
featureNames |
| Constructor and Description |
|---|
FeatureSet(List<String> featureNames) |
| Modifier and Type | Method and Description |
|---|---|
abstract double |
featurize(String featureName,
T object) |
double[] |
featurizeToDouble(T object) |
List<String> |
getFeatureNames()
Returns the feature names as an ImmutableList, sorted using the default
String comparator.
|
int |
getNumFeatures() |
Copyright © 2010-2013 University of Washington CSE. All Rights Reserved.