public class SetAbstractionContextProvider extends java.lang.Object implements ContextFeatureProvider
| Constructor and Description |
|---|
SetAbstractionContextProvider() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
computeFeature(org.apache.commons.collections4.MultiSet<Context> equalContexts)
Extracts a feature from the context.
|
static java.util.Set<java.lang.Integer> |
getActivities(Context 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 static java.util.Set<java.lang.Integer> getActivities(Context context)
public int getNumberOfResultFeatures()
ContextFeatureProviderHighDimClusteringProvider that returns the number of clusters and a cluster variance metric.getNumberOfResultFeatures in interface ContextFeatureProvider