Skip to content

Commit 8427125

Browse files
change getting workspace
1 parent f06ce99 commit 8427125

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

6-azureml-movie-recommendation/sar_movielens_with_azureml.ipynb

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"cell_type": "code",
1818
"source": "import sys\nimport os\nimport shutil\nimport numpy as np\n\nfrom reco_utils.dataset import movielens\nfrom reco_utils.azureml.azureml_utils import get_or_create_workspace\n\nimport azureml\nfrom azureml.core import Workspace, Run, Experiment\nfrom azureml.core.compute import ComputeTarget, AmlCompute\nfrom azureml.train.estimator import Estimator\nfrom azureml.widgets import RunDetails",
19-
"execution_count": 1,
19+
"execution_count": 2,
2020
"outputs": []
2121
},
2222
{
@@ -26,18 +26,13 @@
2626
},
2727
{
2828
"metadata": {
29-
"trusted": true
29+
"trusted": true,
30+
"scrolled": true
3031
},
3132
"cell_type": "code",
32-
"source": "ws = Workspace.from_config()",
33-
"execution_count": 9,
34-
"outputs": [
35-
{
36-
"output_type": "stream",
37-
"text": "Found the config file in: /home/nbuser/library/config.json\n",
38-
"name": "stdout"
39-
}
40-
]
33+
"source": "ws = get_or_create_workspace(subscription_id=\"d5aa990f-2452-4701-bd8e-21959f91194c\",resource_group=\"190500-labs-azureml\",workspace_name= \"pycon_azureml\")",
34+
"execution_count": null,
35+
"outputs": []
4136
},
4237
{
4338
"metadata": {},

0 commit comments

Comments
 (0)