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
Transformation
s 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
Transformer
s 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 aModel
with it'sTransformerMap
so allExample
s are transformed appropriately before the model makes predictions.A fittedTransformation
which can apply a transform to the input value.Provenance forTransformerMap
.An interface for the statistics that need to be collected for a specificTransformation
on a single feature.TransformTrainer<T extends Output<T>>ATrainer
which encapsulates another trainer plus aTransformationMap
object to apply to eachDataset
before training eachModel
.