dsipts.data_structure.modifiers module¶
- class dsipts.data_structure.modifiers.VVADataset(x, y, y_orig, t, length_in, length_out, num_digits)[source]¶
Bases:
Dataset
- class dsipts.data_structure.modifiers.Modifier(**kwargs)[source]¶
Bases:
ABCIn the constructor you can store some parameters of the modifier. It will be saved when the timeseries is saved.
- __init__(**kwargs)[source]¶
In the constructor you can store some parameters of the modifier. It will be saved when the timeseries is saved.
- abstractmethod fit_transform(train, val)[source]¶
This funtion is called before the training procedure and it should tasnform the standard Dataset into the new Dataset
- class dsipts.data_structure.modifiers.ModifierVVA(**kwargs)[source]¶
Bases:
ModifierThis modifiers is used for the custom model VVA. The initial data are divided in smaller segments and then tokenized using a clustering procedure (fit_trasform). The centroids of the clusters are stored. A GPT model is then trained on the tokens an the predictions are reverted using the centroid information.
In the constructor you can store some parameters of the modifier. It will be saved when the timeseries is saved.