Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 637 Bytes

File metadata and controls

21 lines (16 loc) · 637 Bytes

Simple Linear Regression

This sample shows how to use matplotlib to save a plot file (png format), and view it in the Run History detail page.

Run linear_reg.py in local conda environment.

$ conda install matplotlib
$ az ml experiment submit -c local linear_reg.py

Run linear_reg.py in a local Docker container.

$ az ml experiment submit -c docker linear_reg.py

Run linear_reg.py in a Docker container in a remote machine. Note you need to create/configure myvm.compute.

$ az ml experiment submit -c myvm linear_reg.py

When the run finishes, go to the Run History detail page and view the plotted graph.