File size: 926 Bytes
17de9ab 6aa6601 17de9ab 6aa6601 17de9ab 6aa6601 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
---
pipeline_tag: other
tags:
- time series
- forecasting
- pretrained models
- foundation models
- time series foundation models
- time-series
---
# DeepFeatTimeGPTMaskedEncoderPredictor
Copyright (c) 2024. vencortex® - DeOS | Decision Optimization System. All rights reserved.
````Python
from deep_feat_core.libraries.DeepFeatTimeGPT.foundation_models.DeepFeatTimeGPTMaskedEncoder import (
DeepFeatTimeGPTMaskedEncoderPredictor,
)
model = DeepFeatTimeGPTMaskedEncoderPredictor(model_id= "medium")
predictions = model.predict(
time_series: pd.DataFrame, # Time series data to be used for prediction
measure_type: str, # measure_type
frequency: str = "M", # frequency
prediction_length: int = 64, # Number of periods to forecast into the future
num_samples: int = 1000, # Number of samples to use for prediction
context_id: str = "context_id")
```` |