4.1.2.1 ASC Instance Initialization for Scenario Execution

You can import the necessary packages and create an instance for the scenario execution.

Navigate to the Scenario Execution Notebook and the path is Home / Modeling / Pipelines / ASC / Analysis / PreProd / Scenario Notebook.

Activate Conda Environment

To execute the notebook, users should select the ASC Conda Environment from the Python Runtime Parameters in the Pipeline tab.

ASC Instance Initialization

To create an instance, execute the following.
%python-pgx

from ds_interpreter_client.context.ds_context import PyDataStudioContext
ds = PyDataStudioContext()

from ofs_auto_ml.model_deployment.output_tracking import *;
from ofs_auto_ml.db_connection import *;
from ofs_aif.ofs_asc.asc import asc;

asc = asc()
setattr(asc,'objectiveId',objectiveId)

Scenario

The notebook itself shows the scenario with which the analysis has been attached to.