public class FeatureExtractionThread
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
static long |
ACCELERATION_WINDOW_SIZE |
static long |
CLASSIFICATION_INTERVAL |
static long |
CLASSIFICATION_WINDOW_SIZE |
static long |
GPS_WINDOW_SIZE |
static boolean |
LIBSVM_CLASSIFIER |
Constructor and Description |
---|
FeatureExtractionThread(WorkoutActivity activity) |
Modifier and Type | Method and Description |
---|---|
static ClassificationFeatures |
getFeaturesOutOfData(double[] xValue,
double[] yValue,
double[] zValue,
float[] speed) |
void |
run() |
activeCount, checkAccess, 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, start, stop, stop, suspend, toString, yield
public static final boolean LIBSVM_CLASSIFIER
public static final long ACCELERATION_WINDOW_SIZE
public static final long GPS_WINDOW_SIZE
public static final long CLASSIFICATION_INTERVAL
public static final long CLASSIFICATION_WINDOW_SIZE
public FeatureExtractionThread(WorkoutActivity activity)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public static ClassificationFeatures getFeaturesOutOfData(double[] xValue, double[] yValue, double[] zValue, float[] speed)