mirror of
https://github.com/Azure/MachineLearningNotebooks.git
synced 2025-12-22 18:42:41 -05:00
quickstart added
This commit is contained in:
13
tutorials/get-started-day1/IDE-users/03-run-hello.py
Normal file
13
tutorials/get-started-day1/IDE-users/03-run-hello.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# 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)
|
||||
Reference in New Issue
Block a user