Create the batch-block transformation operator TabularPredictNext for defining autoregressive targets by shifting the input sequence feature defined as target.
Implement the BatchBlock TabularPredictNext.
Implement TabulatSequenceTransform, the base class that checks the input sequences and target features are in the correct format.
Implement TabularPredictNextModule responsible for shifting the targets and generating the related masking information.
Example of usage:
For a group of sequences defined in sequence_schema, you can specify the target feature to use for creating the targets and all sequential inputs will be transformed accordingly.
Goals :soccer:
TabularPredictNext
for defining autoregressive targets by shifting the input sequence feature defined astarget
.TabulatSequenceTransform
, the base class that checks the input sequences and target features are in the correct format.TabularPredictNextModule
responsible for shifting the targets and generating the related masking information.Example of usage:
For a group of sequences defined in
sequence_schema
, you can specify the target feature to use for creating the targets and all sequential inputs will be transformed accordingly.You can also define multiple transforms for different sub-schemas: