Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 5.2 KB

File metadata and controls

56 lines (44 loc) · 5.2 KB

Using Regression Algorithms to Predict Bike Share Rentals

This folder contains the code for the Developer's Intro to Data Science course.

Setup

In this course we walk you through a hybrid development environment to introduce you to Azure Machine Learning both in Visual Studio Code and in Azure Machine Learning Studio. You will start by running the code in a local developer environment using Visual Studio Code and then move to running the code in Azure Machine Learning Studio. This is the same process shown in the course.

Below you will find high level instructions for setting up your local and cloud environments, with links to the videos that walk you through them.

NOTE:
If you want to run everything in your Azure Machine Learning environment in the browser, you can skip the Visual Studio Code setup. You will have to modify the code provided in this repo to combine the Visual Studio Code notebook and Azure Machine Learning notebook.

Azure Machine Learning

This course requires an active Azure subscription and an Azure Machine Learning resource at Enterprise level. Here are some high level steps with references for more information on how to get started:

  1. Create an Azure Account: This Microsoft Learn module will walk you through creatin and Azure account using the free subscription.
  1. Create an Azure Machine Learning resource: This is a video from the course that walks you through creating an Enterprise Azure Machine Learning resource.

Visual Studio Code Local Environment

This course demonstrates how to write Python code in Visual Studio Code and connect that to Azure Machine Learning.

  1. Download and install software:
  1. Create an Anaconda environment with Python
  2. Install the Python, Azure Account, and Azure Machine Learning Visual Studio Extensions.
  3. Sign in to Azure using the Visual Studio Code command palette.
  4. Create an .ipynb file, open it, and verify that it opens in notebook form.
  5. Import the following packages in the notebook file you just created:
  • azureml.core
  • pandas as pd
  • numpy as np
  • logging
  1. Verify that the Azure Machine Learning SDK is working by running the following code in your notebook file:
  • print('AzureML SDK Version:", azureml.core.VERSION)

Note:
The setting started with Python in Visual Studio Code docs have extensive steps for setting up your local environment. And you can watch the videos from this course on setting up your local environment, getting Jupyter notebooks and AzureML SDK working in Visual Studio Code and making sure your specific Azure Machine Learning resource is connected to your local environment.

Visual Studio Code Development

At the beginning of this course we write and run our code locally in Visual Studio Code. Before you can started in Visual Studio Code, you need to have already completed all of the setup steps above.

Additionally, you should downdload:

If you want the completed code for this course to run in Visual Studio Code you can find it in the Bike Share in Visual Studio Code notebook in this repo.

Azure Machine Learning Studio

When it's time to migrate over to Azure Machine Learning Studio, you will need to upload a few things to a Notebook folder in the studio:

If you want the completed code for this course to run in Azure Machine Learning Studio you can find it in the Bike Share in Azure Machine Learning notebook in this repo.