Installation

The Forecast Operator can be installed in 2 primary ways: PyPi and Conda Packs.

Installing Through PyPi

Notebook Session or local

If you are running the operator from outside of a Notebook Session, you may download oracle_ads[forecast] from pypi.

Note: Due to our dependence on Automlx, ``oracle_ads[forecast]`` only supports Python<=3.8, != 3.9, <= 3.10.7 . Python 3.8 is the recommended version.

python3 -m pip install "oracle_ads[forecast]"

After that, the Operator is ready to go!

Job and Model Deployment

In order to run on a job, you will need to create and publish a conda pack with oracle_ads[forecast] installed. The simplest way to do this is from a Notebook Session, running the following commands:

odsc conda create -n forecast -e
conda activate /home/datascience/conda/forecast_v1_1
python3 -m pip install "oracle-ads[forecast]"
odsc conda publish -s /home/datascience/conda/forecast_v1_1

Ensure that you have properly configured your conda pack namespace and bucket in the Launcher -> Settings -> Object Storage Settings. For more details, see ADS Conda Set Up

Installing Through Conda Packs

The service recommended environment for using Operators is through Conda Packs within a Job or Notebook Session on OCI.

To install:

  1. Open a Notebook Session

  2. Go to Environment Explorer (from the Launcher tab)

  3. Search for forecast

  4. Download the latest version by clicking the download button.

  5. Activate the conda environment using the path, for example:

conda activate /home/datascience/conda/forecast_py38_v1_1

That’s it. Your Operator is ready to go!