Skip to content

Commit 732eecf

Browse files
committed
update names
1 parent 6995c08 commit 732eecf

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

ignore/doc-qa/how-to-set-up-training-targets/Local.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
run_local = RunConfiguration()
1313

1414
run_local.environment.python.user_managed_dependencies = True
15-
16-
# Choose a specific Python environment by pointing to a Python path. For example:
17-
# run_config.environment.python.interpreter_path = '/home/ninghai/miniconda3/envs/sdk2/bin/python'
1815
#</run_local>
1916

2017
from azureml.core import Workspace
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1-
# <systemManaged>
1+
# Code for What's a run configuration
2+
3+
# <run_system_managed>
24
from azureml.core.runconfig import RunConfiguration
35
from azureml.core.conda_dependencies import CondaDependencies
46

57
run_system_managed = RunConfiguration()
68

79
# Specify the conda dependencies with scikit-learn
810
run_system_managed.environment.python.conda_dependencies = CondaDependencies.create(conda_packages=['scikit-learn'])
9-
# </systemManaged>
11+
# </run_system_managed>
1012
print(run_system_managed)
1113

1214

13-
# <user_managed>
15+
# <run_user_managed>
1416
from azureml.core.runconfig import RunConfiguration
1517

1618
run_user_managed = RunConfiguration()
1719
run_user_managed.environment.python.user_managed_dependencies = True
1820

1921
# Choose a specific Python environment by pointing to a Python path. For example:
2022
# run_config.environment.python.interpreter_path = '/home/ninghai/miniconda3/envs/sdk2/bin/python'
21-
# </user_managed>
23+
# </run_user_managed>
2224
print(run_user_managed)
2325

0 commit comments

Comments
 (0)