public class EntropyContextProvider extends java.lang.Object implements ContextFeatureProvider
| Constructor and Description |
|---|
EntropyContextProvider() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
computeFeature(org.apache.commons.collections4.MultiSet<Context> equalContexts)
Extracts a feature from the context.
|
int |
getNumberOfResultFeatures()
If a feature provider computes 1 feature, it return 1, if 2, then 2.
|
public double[] computeFeature(org.apache.commons.collections4.MultiSet<Context> equalContexts)
ContextFeatureProviderContextParameters.WindowTypecomputeFeature in interface ContextFeatureProviderequalContexts - a preprocessed bag/multiset of contextspublic int getNumberOfResultFeatures()
ContextFeatureProviderHighDimClusteringProvider that returns the number of clusters and a cluster variance metric.getNumberOfResultFeatures in interface ContextFeatureProvider