Package org.tribuo.transform
package org.tribuo.transform
Provides infrastructure for applying transformations to a
Dataset.
This package is the necessary infrastructure for transformations. The workflow is first to build a
TransformationMap which represents the
Transformations and the order that they should be applied to each
Feature. This can be applied to a Dataset to produce a
TransformerMap which contains a fitted set of
Transformers which can be used to apply the transformation to any
other Dataset (e.g., to apply the same transformation to training and test sets), or to be used at prediction
time to stream data through.
It also provides a TransformTrainer which accepts a
TransformationMap and an inner Trainer and produces a
TransformedModel which automatically transforms it's input data at
prediction time.
-
ClassDescriptionAn interface representing a class of transformations which can be applied to a feature.A carrier type for a set of transformations to be applied to a
Dataset.A carrier type as OLCUT does not support nested generics.A tag interface for provenances in the transformation system.TransformedModel<T extends Output<T>>Wraps aModelwith it'sTransformerMapso allExamples are transformed appropriately before the model makes predictions.A fittedTransformationwhich can apply a transform to the input value.Provenance forTransformerMap.An interface for the statistics that need to be collected for a specificTransformationon a single feature.TransformTrainer<T extends Output<T>>ATrainerwhich encapsulates another trainer plus aTransformationMapobject to apply to eachDatasetbefore training eachModel.