Explore OCI forecasting models like ARIMA, AutoMLX, Prophet, NeuralProphet, AutoTS, and Auto with just a few lines of code:
-
Install the oracle_ads package:
!python3 -m pip install "oracle_ads[forecast]"
-
Define the YAML configuration:
yaml_content = """ kind: operator type: forecast version: v1 spec: datetime_column: name: ds historical_data: url: https://raw.githubusercontent.com/facebook/prophet/main/examples/example_yosemite_temps.csv horizon: 3 model: auto target_column: y """ with open('forecast.yaml', 'w') asfile: file.write(yaml_content)
-
Run the ADS operator:
!ads operator run -f forecast.yaml