public interface IFilter
| Modifier and Type | Method and Description |
|---|---|
void |
fit(double[] input)
The function only fits a single instance of the dataset
|
void |
fit(double[][] input) |
void |
fit(TimeSeriesDataset input)
the function computes the needed information for the transform function.
|
double[] |
fitTransform(double[] input)
the function fit and transforms a single instance
|
double[][] |
fitTransform(double[][] input) |
TimeSeriesDataset |
fitTransform(TimeSeriesDataset input)
a utility function to avoid the added effort of calling the fit and transform
function separate
|
double[] |
transform(double[] input)
This function transforms only a single instance.
|
double[][] |
transform(double[][] input) |
TimeSeriesDataset |
transform(TimeSeriesDataset input)
represents a function working on a dataset by transforming the dataset itself.
|
TimeSeriesDataset transform(TimeSeriesDataset input)
input - the data set that is to transformNoneFittedFilterExeception - used if transform is called without fitjava.lang.IllegalArgumentException - used if dataset to transform is emptydouble[] transform(double[] input)
input - the to transform instanceNoneFittedFilterExeceptiondouble[][] transform(double[][] input)
void fit(TimeSeriesDataset input)
input - the dataset that is to transformvoid fit(double[] input)
input - The to fit instancevoid fit(double[][] input)
TimeSeriesDataset fitTransform(TimeSeriesDataset input)
input - the dataset that is to be transfromedNoneFittedFilterExeception - used if transform is called without fitjava.lang.IllegalArgumentException - used if dataset to transform is emptydouble[] fitTransform(double[] input)
input - the to fit and transform instancedouble[][] fitTransform(double[][] input)