In this section, we cover setting up your AzureML environment to run EnCortex. AzureML empowers data scientists and developers to build, deploy, and manage high-quality models faster and with confidence. AML also helps accelerate time to value with industry-leading machine learning operations (MLOps), open-source interoperability, and integrated tools. Hence, we recommend running EnCortex on Azure ML.
In the next few pages and sections, we cover:
EnCortexPlease proceed next if this is your first time using EnCortex or you can head onto the Advanced section to start developing with EnCortex.
(setup/azureml)=
Setup your AzureML studio. To do this, you’ll need access to your resource group in Azure. In this setup, we cover setting up AzureML through the portal, but other setup methods can be found here.
+ Create a Resource -> Search “Azure Machine Learning” and follow the instructions to setup your AzureML studio.config.json file.(setup/azureml/compute)=
Now that you’ve setup your AML studio, we now move on to creating a compute resource. A compute resource is VM-like entity that allows you to run code. Having a compute resource is mandatory to run any EnCortex experiment. Click on the Compute tab from the sidebar inside your AML studio and click on + New button of the type of compute resource you want to spin up. We recommend selecting the following compute resources based on requirements:
You’re now ready to setup AML notebooks.
(run/azureml-notebooks)=
AzureML notebooks provides a jupyter notebook interface to play and explore EnCortex. To run EnCortex on AzureML notebooks, follow the instructiosn below:
Notebooks tab and click on the + icon to create a notebook.Compute Instance and select the Python 3.8 - AzureML environment from the far-right dropdown.Your AML notebook environment is now set. Now, in order to install EnCortex, we recommend the following approach:
(setup/pip)=
Accessible by @Microsoft email aliases only.
wheels folder)encortex_wheels through the UI.encortex_wheels folder.!pip install encortex_wheels/*.whl
To verify installation, run the following code in your AML notebook cell and it should give out a string like 0.1.23:
import encortex
print(encortex.__version__)
You’re now ready to use AzureML notebooks. To run pre-defined scenarios, head on to Tutorials and follow the AML Notebook instructions for each of the scenarios there.