org.android.activityminer.logic.features
Class FeatureExtractorForSensorObservation
java.lang.Object
java.lang.Thread
de.unikassel.android.sdcframework.util.AbstractWorkerThread
de.unikassel.android.sdcframework.util.AbstractEventDispatcherImpl<SensorObservationCutout<T,Double>,FeatureVector>
org.android.activityminer.logic.features.AbstractFeatureExtractor<SensorObservationDimensions>
org.android.activityminer.logic.features.FeatureExtractorForSensorObservation
- All Implemented Interfaces:
- EventDispatcher<SensorObservationCutout<SensorObservationDimensions,Double>,FeatureVector>, ObservableEventSource<FeatureVector>, ObserverRegistration<FeatureVector>, WorkerThread, Runnable, ActivatableComponent
public class FeatureExtractorForSensorObservation
- extends AbstractFeatureExtractor<SensorObservationDimensions>
Feature extractor implementation for sensor observations
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield |
FeatureExtractorForSensorObservation
public FeatureExtractorForSensorObservation(FeatureTypes[] featureTypes,
long sampleRate,
Context context)
- Constructor
- Parameters:
featureTypes
- sampleRate
- the configured sample ratecontext
- the context
getFactory
protected final AbstractFeatureFactory<SensorObservationDimensions> getFactory(Context context)
- Description copied from class:
AbstractFeatureExtractor
- Getter for the feature factory
- Specified by:
getFactory
in class AbstractFeatureExtractor<SensorObservationDimensions>
- Parameters:
context
- the context
- Returns:
- the feature factory to use