|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.projectbrowser.page.trajectory.dtw.DTWUtilFactory
public class DTWUtilFactory
Provide implementation of various computational methods for the DTW.
Constructor Summary | |
---|---|
DTWUtilFactory()
|
Method Summary | |
---|---|
static double |
mean(double[] series)
Compute the mean of the timeseries. |
static double[] |
normalize(double[] series)
Normalize timeseries. |
static double[][] |
rBind(double[] axis,
double[] seriesData)
Binds two linear arrays, producing a 2D array. |
static double |
var(double[] series)
Compute the variance of the timeseries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DTWUtilFactory()
Method Detail |
---|
public static double[][] rBind(double[] axis, double[] seriesData) throws DTWException
axis
- The first component array.seriesData
- The second component array.
DTWException
- If error occures.public static double mean(double[] series)
series
- The input timeseries.
public static double var(double[] series)
series
- The input timeseries.
public static double[] normalize(double[] series)
series
- The input timeseries.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |