Skip to content

Commit 5dc0d2d

Browse files
committed
Merge branch 'master' of github.com:Azure-Samples/azure-python-labs-pr
2 parents 70e0376 + 8427125 commit 5dc0d2d

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

6-azureml-movie-recommendation/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Build a Movie Recommendation System with Azure Machine Learning service
2+
Get started in Azure Notebooks[![Azure Notebooks](https://notebooks.azure.com/launch.svg)]
3+
24
Recommendation systems are used in a variety of industries, from retail to news and media. If you’ve ever used a streaming service or ecommerce site that has surfaced recommendations for you based on what you’ve previously watched or purchased, you’ve interacted with a recommendation system. With the availability of large amounts of data, many businesses are turning to recommendation systems as a critical revenue driver. However, finding the right recommender algorithms can be very time consuming for data scientists. This is why Microsoft has provided a [GitHub repository](https://github.com/Microsoft/Recommenders) with Python best practice examples to facilitate the building and evaluation of recommendation systems. You can learn more about the repo on the [Azure Blog](https://azure.microsoft.com/en-us/blog/building-recommender-systems-with-azure-machine-learning-service/).
35

46
This tutorial will walk through how to build a Movie Recommender system trained with a Simple Algorithm for Recommenders (SAR) for the [Movielens dataset](https://grouplens.org/datasets/movielens/) on [Azure Machine Learning service](https://docs.microsoft.com/azure/machine-learning/service/overview-what-is-azure-ml). It demonstrates how to use the power of the cloud to manage data, switch to powerful GPU machines, and monitor runs while training a model. You will also be able to test an existing webservice and find the most relevant movie recommendations.

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)