mirror of
https://github.com/Azure/MachineLearningNotebooks.git
synced 2025-12-20 09:37:04 -05:00
14 lines
410 B
Python
14 lines
410 B
Python
# 03-run-hello.py
|
|
from azureml.core import Workspace, Experiment, ScriptRunConfig
|
|
|
|
ws = Workspace.from_config()
|
|
experiment = Experiment(workspace=ws, name='day1-experiment-hello')
|
|
|
|
config = ScriptRunConfig(source_directory='./src',
|
|
script='hello.py',
|
|
compute_target='cpu-cluster')
|
|
|
|
run = experiment.submit(config)
|
|
aml_url = run.get_portal_url()
|
|
print(aml_url)
|