Skip to content

Commit 95b0392

Browse files
committed
update samples from Release-130 as a part of SDK release
1 parent 796798c commit 95b0392

File tree

534 files changed

+151917
-27061
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

534 files changed

+151917
-27061
lines changed

CODE_OF_CONDUCT.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Microsoft Open Source Code of Conduct
2+
3+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4+
5+
Resources:
6+
7+
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8+
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9+
- Contact [[email protected]](mailto:[email protected]) with questions or concerns

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) Microsoft Corporation. All rights reserved.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE

Licenses/sdk-license/LICENSE

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
This software is made available to you on the condition that you agree to
3+
[your agreement][1] governing your use of Azure.
4+
If you do not have an existing agreement governing your use of Azure, you agree that
5+
your agreement governing use of Azure is the [Microsoft Online Subscription Agreement][2]
6+
(which incorporates the [Online Services Terms][3]).
7+
By using the software you agree to these terms. This software may collect data
8+
that is transmitted to Microsoft. Please see the [Microsoft Privacy Statement][4]
9+
to learn more about how Microsoft processes personal data.
10+
11+
[1]: https://azure.microsoft.com/en-us/support/legal/
12+
[2]: https://azure.microsoft.com/en-us/support/legal/subscription-agreement/
13+
[3]: http://www.microsoftvolumelicensing.com/DocumentSearch.aspx?Mode=3&DocumentTypeId=46
14+
[4]: http://go.microsoft.com/fwlink/?LinkId=248681

Licenses/sdk-preview-license/LICENSE

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
This Preview is made available to you on the condition that you agree to the
2+
[Supplemental Terms of Use for Microsoft Azure Previews][1], which supplement
3+
[your agreement][2] governing your use of Azure.
4+
If you do not have an existing agreement governing your use of Azure, you agree that
5+
your agreement governing use of Azure is the [Microsoft Online Subscription Agreement][3]
6+
(which incorporates the [Online Services Terms][4]).
7+
By using the Preview you agree to these terms. This Preview may collect data
8+
that is transmitted to Microsoft. Please see the [Microsoft Privacy Statement][5]
9+
to learn more about how Microsoft processes personal data.
10+
11+
[1]: https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/
12+
[2]: https://azure.microsoft.com/en-us/support/legal/
13+
[3]: https://azure.microsoft.com/en-us/support/legal/subscription-agreement/
14+
[4]: http://www.microsoftvolumelicensing.com/DocumentSearch.aspx?Mode=3&DocumentTypeId=46
15+
[5]: http://go.microsoft.com/fwlink/?LinkId=248681

NBSETUP.md

+95
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# Set up your notebook environment for Azure Machine Learning
2+
3+
To run the notebooks in this repository use one of following options.
4+
5+
## **Option 1: Use Azure Notebooks**
6+
Azure Notebooks is a hosted Jupyter-based notebook service in the Azure cloud. Azure Machine Learning Python SDK is already pre-installed in the Azure Notebooks `Python 3.6` kernel.
7+
8+
1. [![Azure Notebooks](https://notebooks.azure.com/launch.png)](https://aka.ms/aml-clone-azure-notebooks)
9+
[Import sample notebooks ](https://aka.ms/aml-clone-azure-notebooks) into Azure Notebooks
10+
1. Follow the instructions in the [Configuration](configuration.ipynb) notebook to create and connect to a workspace
11+
1. Open one of the sample notebooks
12+
13+
**Make sure the Azure Notebook kernel is set to `Python 3.6`** when you open a notebook by choosing Kernel > Change Kernel > Python 3.6 from the menus.
14+
15+
## **Option 2: Use your own notebook server**
16+
17+
### Quick installation
18+
We recommend you create a Python virtual environment ([Miniconda](https://conda.io/miniconda.html) preferred but [virtualenv](https://virtualenv.pypa.io/en/latest/) works too) and install the SDK in it.
19+
```sh
20+
# install just the base SDK
21+
pip install azureml-sdk
22+
23+
# clone the sample repoistory
24+
git clone https://github.com/Azure/MachineLearningNotebooks.git
25+
26+
# below steps are optional
27+
# install the base SDK, Jupyter notebook server and tensorboard
28+
pip install azureml-sdk[notebooks,tensorboard]
29+
30+
# install model explainability component
31+
pip install azureml-sdk[interpret]
32+
33+
# install automated ml components
34+
pip install azureml-sdk[automl]
35+
36+
# install experimental features (not ready for production use)
37+
pip install azureml-sdk[contrib]
38+
```
39+
40+
Note the _extras_ (the keywords inside the square brackets) can be combined. For example:
41+
```sh
42+
# install base SDK, Jupyter notebook and automated ml components
43+
pip install azureml-sdk[notebooks,automl]
44+
```
45+
46+
### Full instructions
47+
[Install the Azure Machine Learning SDK](https://docs.microsoft.com/en-us/azure/machine-learning/service/quickstart-create-workspace-with-python)
48+
49+
Please make sure you start with the [Configuration](configuration.ipynb) notebook to create and connect to a workspace.
50+
51+
52+
### Video walkthrough:
53+
54+
[!VIDEO https://youtu.be/VIsXeTuW3FU]
55+
56+
## **Option 3: Use Docker**
57+
58+
You need to have Docker engine installed locally and running. Open a command line window and type the following command.
59+
60+
__Note:__ We use version `1.0.10` below as an exmaple, but you can replace that with any available version number you like.
61+
62+
```sh
63+
# clone the sample repoistory
64+
git clone https://github.com/Azure/MachineLearningNotebooks.git
65+
66+
# change current directory to the folder
67+
# where Dockerfile of the specific SDK version is located.
68+
cd MachineLearningNotebooks/Dockerfiles/1.0.10
69+
70+
# build a Docker image with the a name (azuremlsdk for example)
71+
# and a version number tag (1.0.10 for example).
72+
# this can take several minutes depending on your computer speed and network bandwidth.
73+
docker build . -t azuremlsdk:1.0.10
74+
75+
# launch the built Docker container which also automatically starts
76+
# a Jupyter server instance listening on port 8887 of the host machine
77+
docker run -it -p 8887:8887 azuremlsdk:1.0.10
78+
```
79+
80+
Now you can point your browser to http://localhost:8887. We recommend that you start from the `configuration.ipynb` notebook at the root directory.
81+
82+
If you need additional Azure ML SDK components, you can either modify the Docker files before you build the Docker images to add additional steps, or install them through command line in the live container after you build the Docker image. For example:
83+
84+
```sh
85+
# install the core SDK and automated ml components
86+
pip install azureml-sdk[automl]
87+
88+
# install the core SDK and model explainability component
89+
pip install azureml-sdk[interpret]
90+
91+
# install the core SDK and experimental components
92+
pip install azureml-sdk[contrib]
93+
```
94+
Drag and Drop
95+
The image will be downloaded by Fatkun

README.md

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Azure Machine Learning Python SDK notebooks
2+
3+
> a community-driven repository of examples using mlflow for tracking can be found at https://github.com/Azure/azureml-examples
4+
5+
Welcome to the Azure Machine Learning Python SDK notebooks repository!
6+
7+
## Getting started
8+
9+
These notebooks are recommended for use in an Azure Machine Learning [Compute Instance](https://docs.microsoft.com/azure/machine-learning/concept-compute-instance), where you can run them without any additional set up.
10+
11+
However, the notebooks can be run in any development environment with the correct `azureml` packages installed.
12+
13+
Install the `azureml.core` Python package:
14+
15+
```sh
16+
pip install azureml-core
17+
```
18+
19+
Install additional packages as needed:
20+
21+
```sh
22+
pip install azureml-mlflow
23+
pip install azureml-dataset-runtime
24+
pip install azureml-automl-runtime
25+
pip install azureml-pipeline
26+
pip install azureml-pipeline-steps
27+
...
28+
```
29+
30+
We recommend starting with one of the [quickstarts](tutorials/compute-instance-quickstarts).
31+
32+
## Contributing
33+
34+
This repository is a push-only mirror. Pull requests are ignored.
35+
36+
## Code of Conduct
37+
38+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). Please see the [code of conduct](CODE_OF_CONDUCT.md) for details.
39+
40+
## Reference
41+
42+
- [Documentation](https://docs.microsoft.com/azure/machine-learning)
43+

0 commit comments

Comments
 (0)