Interface IFilter
-
- All Known Implementing Classes:
AFilter,DFT,SAX,SFA,SlidingWindowBuilder,ZTransformer
public interface IFilter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfit(double[] input)The function only fits a single instance of the datasetvoidfit(double[][] input)voidfit(TimeSeriesDataset2 input)the function computes the needed information for the transform function.double[]fitTransform(double[] input)the function fit and transforms a single instancedouble[][]fitTransform(double[][] input)TimeSeriesDataset2fitTransform(TimeSeriesDataset2 input)a utility function to avoid the added effort of calling the fit and transform function separatedouble[]transform(double[] input)This function transforms only a single instance.double[][]transform(double[][] input)TimeSeriesDataset2transform(TimeSeriesDataset2 input)represents a function working on a dataset by transforming the dataset itself.
-
-
-
Method Detail
-
transform
TimeSeriesDataset2 transform(TimeSeriesDataset2 input)
represents a function working on a dataset by transforming the dataset itself.- Parameters:
input- the data set that is to transform- Returns:
- the transformt dataset
- Throws:
NoneFittedFilterExeception- used if transform is called without fitjava.lang.IllegalArgumentException- used if dataset to transform is empty
-
transform
double[] transform(double[] input)
This function transforms only a single instance.- Parameters:
input- the to transform instance- Returns:
- the transformed instance
- Throws:
NoneFittedFilterExeception
-
transform
double[][] transform(double[][] input)
-
fit
void fit(TimeSeriesDataset2 input)
the function computes the needed information for the transform function.- Parameters:
input- the dataset that is to transform
-
fit
void fit(double[] input)
The function only fits a single instance of the dataset- Parameters:
input- The to fit instance
-
fit
void fit(double[][] input)
-
fitTransform
TimeSeriesDataset2 fitTransform(TimeSeriesDataset2 input)
a utility function to avoid the added effort of calling the fit and transform function separate- Parameters:
input- the dataset that is to be transfromed- Returns:
- the transformed dataset
- Throws:
NoneFittedFilterExeception- used if transform is called without fitjava.lang.IllegalArgumentException- used if dataset to transform is empty
-
fitTransform
double[] fitTransform(double[] input)
the function fit and transforms a single instance- Parameters:
input- the to fit and transform instance- Returns:
- the transformed instance
-
fitTransform
double[][] fitTransform(double[][] input)
-
-