Interface Transform
- All Superinterfaces:
Function<Tuple,Tuple>, Serializable
- All Known Subinterfaces:
InvertibleTransform
- All Known Implementing Classes:
BagOfWords, ColumnTransform, GHA, InvertibleColumnTransform, KernelPCA, KMedoidsImputer, KNNImputer, Normalizer, PCA, ProbabilisticPCA, Projection, RandomProjection, SimpleImputer
Data transformation interface. In general, learning algorithms benefit
from standardization of the data set. If some outliers are present in
the set, robust transformers are more appropriate.
-
Method Summary
Modifier and TypeMethodDescriptiondefault TransformReturns a composed function that first applies this function to its input, and then applies theafterfunction to the result.default DataFrameApplies this transform to the given argument.default TransformReturns a composed function that first applies thebeforefunction to its input, and then applies this function to the result.static TransformFits a pipeline of data transforms.static TransformReturns a pipeline of data transforms.
-
Method Details
-
fit
-
pipeline
-
apply
-
andThen
Returns a composed function that first applies this function to its input, and then applies theafterfunction to the result.- Parameters:
after- the transform to apply after this transform is applied.- Returns:
- a composed transform that first applies this transform and
then applies the
aftertransform.
-
compose
Returns a composed function that first applies thebeforefunction to its input, and then applies this function to the result.- Parameters:
before- the transform to apply before this transform is applied.- Returns:
- a composed transform that first applies the
beforetransform and then applies this transform.
-