What does the controler do
The sample did the following things:
Create input and output containers in the storage account
Upload input files under inputFiles folder to the input container
Upload the Python app under sourceFiles folder to input container, that is the program we want to execute in Azure Batch
Create pool on Azure Batch, use Ubuntu Server 18.04-LTS as node image, and install Python 3.7 in node start task.
Create job and tasks. We will create a task for each input file, the input file and the Python app will be the resource file for the task, and the task will automatically upload the output file to the output container on succeeding.
Wait for tasks to be complete while the tasks are executing.
Print aggregated task output
Print summary of the execution
Clean up resources

Controler will download all task outputs and sort them by R-squared score:
Last updated
Was this helpful?