|
--- |
|
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") |
|
```` |