<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Anthony Bartolo</title>
    <description>The latest articles on DEV Community by Anthony Bartolo (@wirelesslife).</description>
    <link>https://dev.to/wirelesslife</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F142850%2F3cdf5bf2-419b-46f3-94f7-9b796cc0923d.jpeg</url>
      <title>DEV Community: Anthony Bartolo</title>
      <link>https://dev.to/wirelesslife</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wirelesslife"/>
    <language>en</language>
    <item>
      <title>How to Use Cloud Shell in Visual Studio Code</title>
      <dc:creator>Anthony Bartolo</dc:creator>
      <pubDate>Thu, 20 Jun 2019 11:48:18 +0000</pubDate>
      <link>https://dev.to/azure/how-to-use-cloud-shell-in-visual-studio-code-3acf</link>
      <guid>https://dev.to/azure/how-to-use-cloud-shell-in-visual-studio-code-3acf</guid>
      <description>&lt;p&gt;Originally posted by &lt;a href="https://twitter.com/ThomasMaurer" rel="noopener noreferrer"&gt;@ThomasMaurer&lt;/a&gt; on &lt;a href="https://techcommunity.microsoft.com/t5/ITOps-Talk-Blog/bg-p/ITOpsTalkBlog" rel="noopener noreferrer"&gt;ITOpsTalk.com&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;As you may know, I am a huge fan of the Azure Cloud Shell. I use it often directly in the &lt;a href="https://portal.azure.com/?WT.mc_id=itopstalk-blog-thmaure" rel="noopener noreferrer"&gt;Azure Portal&lt;/a&gt;, on Microsoft Docs, in the &lt;a href="https://azure.microsoft.com/en-us/features/azure-portal/mobile-app?WT.mc_id=itopstalk-blog-thmaure" rel="noopener noreferrer"&gt;Azure Mobile App&lt;/a&gt; or on &lt;a href="https://shell.azure.com/?WT.mc_id=itopstalk-blog-thmaure" rel="noopener noreferrer"&gt;shell.azure.com&lt;/a&gt;. A lot of times I am editing files and writing code and Azure Resource Manager (ARM) templates in Visual Studio Code and in that case I need to either use a local &lt;a href="https://www.thomasmaurer.ch/2016/05/how-to-install-the-azure-powershell-module/" rel="noopener noreferrer"&gt;Azure PowerShell&lt;/a&gt; or Azure CLI installation or switch from Visual Studio Code back in the browser to use Cloud Shell. However, there is also a third option, which allows me to run Cloud Shell directly within &lt;a href="https://code.visualstudio.com?WT.mc_id=thomasmaurer-blog-thmaure" rel="noopener noreferrer"&gt;Visual Studio Code&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;To set up Cloud Shell in Visual Studio Code you need to do two things. First, you need to install nodeJS and the Azure Account extension.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On Windows: Requires Node.js 6 or later to be installed (&lt;a href="https://nodejs.org/" rel="noopener noreferrer"&gt;https://nodejs.org&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Visual Studio Code &lt;a href="https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account?WT.mc_id=itopstalk-blog-thmaure" rel="noopener noreferrer"&gt;Azure Account&lt;/a&gt; extension.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Next, you can log in to Azure and open PowerShell or Bash in Cloud Shell:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F116910iDC4ED53AF11581E9%2Fimage-size%2Flarge%3Fv%3D1.0%26px%3D999" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F116910iDC4ED53AF11581E9%2Fimage-size%2Flarge%3Fv%3D1.0%26px%3D999" title="Cloud-Shell-in-Visual-Studio-Code.gif" alt="Cloud-Shell-in-Visual-Studio-Code.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Press  &lt;strong&gt;CTRL+SHIFT+P&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Sign in to Microsoft Azure, by typing  &lt;strong&gt;Azure: Sign In&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;A  &lt;strong&gt;browser window&lt;/strong&gt;  will open to login to Azure&lt;/li&gt;
&lt;li&gt;Press  &lt;strong&gt;CTRL+ SHIFT+P&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Type  &lt;strong&gt;Open PowerShell in Cloud Shell&lt;/strong&gt;  or  &lt;strong&gt;Open Bash in Cloud Shell&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;This will connect you directly to your Cloud Shell running in Azure.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I hope this gives you an overview of how you can run Cloud Shell directly in Visual Studio Code. If you have any questions, leave a commement below.&lt;/p&gt;

</description>
      <category>azure</category>
      <category>cloudshell</category>
      <category>howto</category>
      <category>powershell</category>
    </item>
    <item>
      <title>How to access Azure Linux virtual machines with Azure Active Directory</title>
      <dc:creator>Anthony Bartolo</dc:creator>
      <pubDate>Tue, 26 Mar 2019 07:01:00 +0000</pubDate>
      <link>https://dev.to/azure/how-to-access-azure-linux-virtual-machines-with-azure-active-directory-dee</link>
      <guid>https://dev.to/azure/how-to-access-azure-linux-virtual-machines-with-azure-active-directory-dee</guid>
      <description>&lt;p&gt;Written By &lt;a href="https://twitter.com/nepeters"&gt;@nepeters&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Using Azure AD credentials for accessing Azure Linux Virtual Machines improves security by:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Centrally controlling and enforcing access policies on Azure AD credentials&lt;/li&gt;
&lt;li&gt;Reducing the reliance on local access accounts&lt;/li&gt;
&lt;li&gt;Integration with multi-factor authentication&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In this blog post, I will quickly walk through the basic configuration steps for accessing Azure Linux virtual machines using Azure AD credentials. For detailed steps and documentation, see &lt;a href="https://docs.microsoft.com/en-us/azure/virtual-machines/linux/login-using-aad?WT.mc_id=ITOpsTalk-blog-nepeters"&gt;Log into a Linux Virtual machine in Azure using Azure Active Directory authentication&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Create a Virtual Machine
&lt;/h2&gt;

&lt;p&gt;First things first, you need an Azure Linux virtual machine. This blog uses the Azure CLI to create the virtual machine however any method for deploying virtual machine will work. If you already have an Azure Linux virtual machine, this section can be skipped.&lt;/p&gt;

&lt;p&gt;Create a resource group using the &lt;a href="https://docs.microsoft.com/en-us/cli/azure/group?WT.mc_id=ITOpsTalk-blog-nepeters&amp;amp;view=azure-cli-latest#az-group-create"&gt;az group create&lt;/a&gt; command.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;az group create --name myResourceGroup --location eastus

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Create a virtual machine using the &lt;a href="https://docs.microsoft.com/cli/azure/vm?WT.mc_id=ITOpsTalk-blog-nepeters&amp;amp;view=azure-cli-latest#az-vm-create"&gt;az vm create&lt;/a&gt; command. Notice here that I have neither used the &lt;code&gt;--admin-username&lt;/code&gt; argument to create a local user account nor used any arguments to create or provide SSH keys.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;az vm create --resource-group myResourceGroup --name linuxVM --image UbuntuLTS

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Here is where the magic happens. Use the &lt;a href="https://docs.microsoft.com/cli/azure/vm/extension?WT.mc_id=ITOpsTalk-blog-nepeters&amp;amp;view=azure-cli-latest#az-vm-extension-set"&gt;az vm extension set&lt;/a&gt; command to install the Active Directory Linux SSH extension. This extension is responsible for the configuration of the Azure AD integration.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;az vm extension set --publisher Microsoft.Azure.ActiveDirectory.LinuxSSH --name AADLoginForLinux --resource-group myResourceGroup --vm-name linuxVM

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h2&gt;
  
  
  Configure Role-Based Access
&lt;/h2&gt;

&lt;p&gt;Before logging into the virtual machine with an Azure AD account, the Azure AD access must be configured. To do so, we will create a role binding between the Azure AD account, the "Virtual Machines Administrators Login" AD role, and the virtual machine.&lt;/p&gt;

&lt;p&gt;First, get the ID of the virtual machine using the &lt;a href="https://docs.microsoft.com/cli/azure/vm?WT.mc_id=ITOpsTalk-blog-nepeters&amp;amp;view=azure-cli-latest#az-vm-show"&gt;az vm show&lt;/a&gt; command. In this example, the ID is stored in a variables name &lt;strong&gt;VMID&lt;/strong&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;VMID=$(az vm show --resource-group myResourceGroup --name linuxVM --query id -o tsv)

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Create the role binding using the &lt;a href="https://docs.microsoft.com/en-us/cli/azure/role/assignment?WT.mc_id=ITOpsTalk-blog-nepeters&amp;amp;view=azure-cli-latest#az-role-assignment-create"&gt;az role assignment create&lt;/a&gt; command. Notice here that the &lt;strong&gt;--assignee&lt;/strong&gt; would be the Azure AD account or group for which the access is established.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;az role assignment create --role "Virtual Machine Administrator Login" --assignee user@contoso.com --scope $VMID

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h2&gt;
  
  
  Access the VM
&lt;/h2&gt;

&lt;p&gt;With the VM created, and the access established, you can now access the VM using SSH. First, get the public IP address of the virtual machine. This can be done with the &lt;a href="https://docs.microsoft.com/cli/azure/vm?WT.mc_id=ITOpsTalk-blog-nepeters&amp;amp;view=azure-cli-latest#az-vm-show"&gt;az&lt;/a&gt;vm&lt;a href="https://docs.microsoft.com/cli/azure/vm?WT.mc_id=ITOpsTalk-blog-nepeters&amp;amp;view=azure-cli-latest#az-vm-show"&gt; show&lt;/a&gt; command.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;az vm show -d --resource-group myResourceGroup --name linuxVM --query publicIps -o tsv

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Now create the SSH connection. In this example, I am using SSH from a terminal. Take note that the Azure AD user account is specified in the command.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ssh user@contoso.com @137.117.88.113

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Once completed, you are prompted to open up a browser and complete the authentication. Follow the instructions and press ENTER when done.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code AJ9GDRXBQ to authenticate. Press ENTER when ready.

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;At this point, the SSH connection should have been successfully created. Feel free to reach out in comments or on Twitter at &lt;a href="https://twitter.com/nepeters"&gt;@nepeters&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>azure</category>
      <category>linux</category>
    </item>
    <item>
      <title>Step-By-Step: Introduction to Azure Command Line Interface (CLI) with Azure Arm Templates</title>
      <dc:creator>Anthony Bartolo</dc:creator>
      <pubDate>Tue, 05 Mar 2019 08:01:00 +0000</pubDate>
      <link>https://dev.to/azure/step-by-step-introduction-to-azure-command-line-interface-cli-with-azure-arm-templates-36ph</link>
      <guid>https://dev.to/azure/step-by-step-introduction-to-azure-command-line-interface-cli-with-azure-arm-templates-36ph</guid>
      <description>

&lt;p&gt;Written By &lt;a class="comment-mentioned-user" href="https://dev.to/jaydestro"&gt;@jaydestro&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;Working with Azure Resource Manager Templates provides you with a way to codify your infrastructure using JSON!  In this tutorial we'll show you how to get started with using different parameters along side with your template.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-overview/?WT.mc_id=armapache-youtube-jagord"&gt;From the Azure Resource Manager Overview:&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Azure Resource Manager is the deployment and management service for Azure. It provides a consistent management layer that enables you to create, update, and delete resources in your Azure subscription. You can use its access control, auditing, and tagging features to secure and organize your resources after deployment.&lt;/p&gt;

&lt;p&gt;When you take actions through the portal, PowerShell, Azure CLI, REST APIs, or client SDKs, the Azure Resource Manager API handles your request. Because all requests are handled through the same API, you see consistent results and capabilities in all the different tools. All capabilities that are available in the portal are also available through PowerShell, Azure CLI, REST APIs, and client SDKs. Functionality initially released through APIs will be represented in the portal within 180 days of initial release.&lt;/p&gt;

&lt;p&gt;The following image shows how all the tools interact with the Azure Resource Manager API. The API passes requests to the Resource Manager service, which authenticates and authorizes the requests. Resource Manager then routes the requests to the appropriate service.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;With Resource Manager, you can create a template (in JSON format) that defines the infrastructure and configuration of your Azure solution. By using a template, you can repeatedly deploy your solution throughout its lifecycle and have confidence your resources are deployed in a consistent state.&lt;/p&gt;



&lt;p&gt;To follow along with this tutorial it's recommended you have:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Azure Account&lt;/li&gt;
&lt;li&gt;Some Bash shell experience&lt;/li&gt;
&lt;li&gt;General understanding of scripting/programming&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Important links you'll need to have:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-templates-parameters?WT.mc_id=armapache-youtube-jagord"&gt;Parameters section of Azure Resource Manager templates&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-deploy-cli/?WT.mc_id=armapache-youtube-jagord"&gt;Deploy resources with Resource Manager templates and Azure CLI&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Azure/azure-quickstart-templates/tree/master/ubuntu-apache-test-page"&gt;ubuntu-apache-test-page GitHub Repo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To create a resource group:&lt;/p&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;az group create -l centralus -n \&amp;lt;insert your preferred name here\&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Basic deploy of an ARM template:&lt;/p&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;az group deployment create --name \&amp;lt;your-deploy-name\&amp;gt; --resource-group \&amp;lt;your resource group name\&amp;gt; --template-file azuredeploy.json
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Deploy with specified parameters:&lt;/p&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;az group deployment create --name \&amp;lt;your deployment group\&amp;gt; --resource-group=\&amp;lt;your resource group name\&amp;gt; --template-file azuredeploy.json --parameter location=eastus testPageTitle="demo jay" testPageBody="\&amp;lt;p\&amp;gt;This is a really cool test page.\&amp;lt;/p\&amp;gt;" adminUsername=\&amp;lt;your preferred username\&amp;gt; adminPassword=\&amp;lt;your preferred password\&amp;gt; dnsNameForPublicIP=\&amp;lt;your preferred hostname\&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Have additional questions about this tutorial?  Feel free to leave a message below.&lt;/p&gt;


</description>
      <category>azure</category>
      <category>azurecli</category>
      <category>armtemplates</category>
    </item>
    <item>
      <title>Step-By-Step: Getting Started with Azure Machine Learning</title>
      <dc:creator>Anthony Bartolo</dc:creator>
      <pubDate>Thu, 07 Feb 2019 12:58:16 +0000</pubDate>
      <link>https://dev.to/wirelesslife/step-by-step-getting-started-with-azure-machine-learning-513b</link>
      <guid>https://dev.to/wirelesslife/step-by-step-getting-started-with-azure-machine-learning-513b</guid>
      <description>&lt;p&gt;Artificial Intelligence (AI) study and use is on the rise. Tools to enable AI are becoming more readily available, simpler to use and easier to implement. What's more is that the definition of AI itself has been broken down into &lt;em&gt;ingredients&lt;/em&gt; that, when later applied into a recipe (or process), can provide multiple desired outcomes. One of the more important ingredients used in most recipes is Machine Learning. Machine Learning in essence is a way of teaching computers to provide more accurate predictions on provided data. These predictions can also make apps and devices smarter by providing recommendations as an outcome to the data.&lt;/p&gt;

&lt;p&gt;In the pursuit of making roads safer, Toyota Canada has been capturing data from mechanics in all of Toyota Canada's 300 dealerships on the vehicles they repair. In the past, the repair data was extracted from Toyota Canada's service application manually and stored in databases on premise to later be analyzed. While parts of the analytics process were automated, the entire process took over 6 months to process the reams of data to provide a part replacement recommendation.&lt;/p&gt;

&lt;p&gt;Toyota Canada wanted to reduce the process time and so approached Microsoft to collaborate in a Machine Learning Hackfest to come up with a solution. While we are unable to detail the exact process undertaken by Toyota Canada and Microsoft as completed during the Hackfest itself, this post will walk through steps accomplishing a similar exercise to enable further understanding of the Machine Learning process. The step-by-step detailed below will set up a pricing prediction of specific vehicles. &lt;em&gt;Lets get started.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;_ _&lt;/p&gt;

&lt;h4&gt;
  
  
  Step 1: Accessing Machine Learning Studio
&lt;/h4&gt;

&lt;p&gt;To begin this exercise, navigate to &lt;a href="https://studio.azureml.net/" rel="noopener noreferrer"&gt;https://studio.azureml.net&lt;/a&gt; and select &lt;strong&gt;Sign up here.&lt;/strong&gt; Next choose between free and paid options to complete this exercise. &lt;strong&gt;NOTE:&lt;/strong&gt; Select &lt;strong&gt;Sign In&lt;/strong&gt; if you have already completed a Machine Learning experiment previously and simple enter your credentials. &lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_001-1024x309.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_001-1024x309.png" alt="machine_learning_toyota_001"&gt;&lt;/a&gt; You are ready to begin the exercise once you are able to access the Microsoft Azure Machine Learning Studio.&lt;/p&gt;

&lt;h4&gt;
  
  
  Step 2: Getting the Data to Analyze
&lt;/h4&gt;

&lt;p&gt;Next you'll need to acquire data to analyze. Machine Learning Studio has many sample datasets to choose from or you can even import your own dataset from almost any source. In keeping with the automotive theme, the &lt;strong&gt;Automobile price data (Raw)&lt;/strong&gt; dataset will be used in this exercise. This dataset provides data on various cars including make, model, price and specifications The first thing you need to perform machine learning is data. There are several sample datasets included with Machine Learning Studio that you can use, or you can import data from many sources. For this example, we'll use the sample dataset, &lt;strong&gt;Automobile price data (Raw)&lt;/strong&gt;, that's included in your workspace. This dataset includes entries for various individual automobiles, including information such as make, model, technical specifications, and price. &lt;strong&gt;NOTE:&lt;/strong&gt; All data used in this exercise is factitious and does not represent the current automotive market. Let's now capture the dataset for this experiment.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;+NEW&lt;/strong&gt; located at the bottom of the Machine Learning Studio window to create a new experiment&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;EXPERIMENT&lt;/strong&gt; &amp;gt; &lt;strong&gt;Blank Experiment&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Name the experiment &lt;strong&gt;Automotive Price Prediction Exercise&lt;/strong&gt; by selecting and replacing the text found at the top &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_002-1024x185.png" alt="machine_learning_toyota_002"&gt;
&lt;/li&gt;
&lt;li&gt;In the Search box located in the top left hand side, enter &lt;strong&gt;automobile&lt;/strong&gt; to find the dataset labeled &lt;strong&gt;Automobile price data (Raw)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Drag the dataset to the experiment canvas &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_003-1024x226.png" alt="machine_learning_toyota_003"&gt; &lt;strong&gt;NOTE:&lt;/strong&gt; Click the output port at the bottom of the automobile dataset, and then select &lt;strong&gt;Visualize&lt;/strong&gt; to see what the automotive dataset looks like
&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  Step 3: Preparation of the Data
&lt;/h4&gt;

&lt;p&gt;Preprocessing the dataset is needed to ensure missing values are addressed prior to running the prediction exercise. As noted in the newly added automotive dataset, the &lt;em&gt;normalized-losses&lt;/em&gt; column is missing many values and will have to be excluded to provide a better prediction.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In the Search box located in the top left hand side, enter select columns and located the &lt;a href="https://msdn.microsoft.com/library/azure/1ec722fa-b623-4e26-a44e-a50c6d726223/" rel="noopener noreferrer"&gt;Select Columns in Dataset&lt;/a&gt; module&lt;/li&gt;
&lt;li&gt;Drag the module to the newly created experiment canvas &lt;strong&gt;NOTE:&lt;/strong&gt; This module allows for the selection of columns of data to be included or excluded in this exercise&lt;/li&gt;
&lt;li&gt;Connect the output port of the &lt;strong&gt;Automobile price data (Raw)&lt;/strong&gt; dataset to the input port of the Select Columns in Dataset module&lt;/li&gt;
&lt;li&gt;Select the Select Columns in Dataset module&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Launch column selector&lt;/strong&gt; in the &lt;strong&gt;Properties&lt;/strong&gt; pane &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_004-1024x300.png" alt="machine_learning_toyota_004"&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;With rules&lt;/strong&gt; located on the left&lt;/li&gt;
&lt;li&gt;Under &lt;strong&gt;Begin With&lt;/strong&gt; , click &lt;strong&gt;All columns&lt;/strong&gt;. This directs Select Columns in Dataset to pass through all the columns (except those columns we're about to exclude).&lt;/li&gt;
&lt;li&gt;From the drop-downs, select &lt;strong&gt;Exclude&lt;/strong&gt; and &lt;strong&gt;column names&lt;/strong&gt; , and then click inside the text box. A list of columns is displayed. Select &lt;strong&gt;normalized-losses&lt;/strong&gt; , and it's added to the text box. &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_005-1024x511.png" alt="machine_learning_toyota_005"&gt;
&lt;/li&gt;
&lt;li&gt;Click the &lt;em&gt;check mark&lt;/em&gt; to close the column selector &lt;strong&gt;NOTE:&lt;/strong&gt; The properties pane for &lt;strong&gt;Select Columns in Dataset&lt;/strong&gt; now shows that all columns from the dataset will pass through except &lt;strong&gt;normalized-losses&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Drag the &lt;a href="https://msdn.microsoft.com/library/azure/d2c5ca2f-7323-41a3-9b7e-da917c99f0c4/" rel="noopener noreferrer"&gt;Clean Missing Data&lt;/a&gt; module to the experiment canvas and connect it to the Select Columns in Dataset module&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Properties&lt;/strong&gt; pane, select &lt;strong&gt;Remove entire row&lt;/strong&gt; under &lt;strong&gt;Cleaning mode&lt;/strong&gt;** NOTE:** This directs Clean Missing Data to clean the data by removing rows that have any missing values. &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_006-1024x348.png" alt="machine_learning_toyota_006"&gt;
&lt;/li&gt;
&lt;li&gt;Double-click the module and type the comment &lt;em&gt;Remove missing value rows&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;RUN&lt;/strong&gt; at the bottom of the page
&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  Step 4: Defining Features
&lt;/h4&gt;

&lt;p&gt;Machine Leaning Features are individual measurable properties that are of interest. In Automotive Price dataset, each row represents one car, and each column is a feature of that vehicle. Experimentation and knowledge about the problem you want to solve are needed to find a good set of features to create a predictive model. This experiment will build a model that uses a subset of the features in the automotive dataset. These features include: &lt;code&gt;make, body-style, wheel-base, engine-size, horsepower, peak-rpm, highway-mpg, price&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Find and drag another Select Columns in the Dataset module to the experiment canvas&lt;/li&gt;
&lt;li&gt;Connect the left output port of the Clean Missing Data module to the input of the Select Columns in Dataset module&lt;/li&gt;
&lt;li&gt;Double-click the module and type &lt;em&gt;Select features for prediction&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Launch column selector&lt;/strong&gt; in the &lt;strong&gt;Properties&lt;/strong&gt; pane&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;With rules&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;No columns&lt;/strong&gt; u &lt;strong&gt;nder Begin With&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Include&lt;/strong&gt; and &lt;strong&gt;column names&lt;/strong&gt; in the filter row&lt;/li&gt;
&lt;li&gt;Select the list of column names (as listed above prior to the start of Step 3's steps) in the text box &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_007-1024x464.png" alt="machine_learning_toyota_007"&gt;
&lt;/li&gt;
&lt;li&gt;Click the check mark button to confirm the selection
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Selecting and Applying a Learning Algorithm&lt;/strong&gt; With the appropriate data now repaired, training and testing of a predictive model can now commence. The data will now be uses to train the model and test the model to review price prediction. For this experiment the &lt;em&gt;regression&lt;/em&gt; machine learning algorithm will be used. Regression is used to predict a number which will come in handing when predicting pricing. More specifically, this experiment will use the simple &lt;em&gt;linear regression&lt;/em&gt; model. The data itself will be used for both training the model and testing. This is completed by splitting the data into separate training and testing datasets.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Find, select and drag the Split Data module to the experiment canvas&lt;/li&gt;
&lt;li&gt;Connect the Split Data module to the last &lt;em&gt;Select Columns&lt;/em&gt; in Dataset module&lt;/li&gt;
&lt;li&gt;Click the Split Data module&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Properties&lt;/strong&gt; pane to the right of the canvas, find the &lt;strong&gt;Fraction of rows in the first output dataset&lt;/strong&gt; () and set it to 0.75 &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_008-1024x452.png" alt="machine_learning_toyota_008"&gt;
&lt;/li&gt;
&lt;li&gt;Run the experiment&lt;/li&gt;
&lt;li&gt;Expand the &lt;strong&gt;Machine Learning&lt;/strong&gt; category in the module palette to the left of the canvas to select the learning algorithm&lt;/li&gt;
&lt;li&gt;Expand &lt;strong&gt;Initialize Model&lt;/strong&gt;  &lt;strong&gt;NOTE:&lt;/strong&gt; This displays several categories of modules that can be used to &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_009-1024x556.png" alt="machine_learning_toyota_009"&gt; initialize machine learning algorithms&lt;/li&gt;
&lt;li&gt;Select the Linear Regression module under the &lt;strong&gt;Regression&lt;/strong&gt; category and drag it to the experiment canvas &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_009-1024x556.png" alt="machine_learning_toyota_009"&gt;
&lt;/li&gt;
&lt;li&gt;Find and drag the &lt;em&gt;Train Model&lt;/em&gt; module to the experiment canvas&lt;/li&gt;
&lt;li&gt;Connect the output of the Linear Regression module to the left input of the Train Model module, and connect the training data output (left port) of the Split Data module to the right input of the Train Model module &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_010-1024x560.png" alt="machine_learning_toyota_010"&gt; &lt;strong&gt;NOTE:&lt;/strong&gt; Please pay attention to the port utilized as the experiment will not work if connected incorrectly&lt;/li&gt;
&lt;li&gt;Click the Train Model module&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Launch column selector&lt;/strong&gt; in the &lt;strong&gt;Properties&lt;/strong&gt; pane&lt;/li&gt;
&lt;li&gt;Select the &lt;strong&gt;price&lt;/strong&gt; column and move it to the &lt;strong&gt;Selected columns&lt;/strong&gt; list (This is the value that the experiment is going to predict)&lt;/li&gt;
&lt;li&gt;Click the check mark button to confirm the selection&lt;/li&gt;
&lt;li&gt;Run the experiment
&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  Step 6: Predict New Automobile Pricing
&lt;/h4&gt;

&lt;p&gt;The experiment can now score the 25 percent of data to how the model functions being trained on the other 75 percent.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Find and drag the Score Model module to the experiment canvas&lt;/li&gt;
&lt;li&gt;Connect the output of the Train Model module to the left input port of Score Model&lt;/li&gt;
&lt;li&gt;Connect the test data output (right port) of the Split Data module to the right input port of Score Model &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_012-1024x558.png" alt="machine_learning_toyota_012"&gt;
&lt;/li&gt;
&lt;li&gt;Run the experiment&lt;/li&gt;
&lt;li&gt;Click the output port of Score Model and select &lt;strong&gt;Visualize&lt;/strong&gt; to view the output from the Score Model module &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_013-1024x559.png" alt="machine_learning_toyota_013"&gt; &lt;strong&gt;NOTE:&lt;/strong&gt; The output shows the predicted values for price and the known values from the test data &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmsdnshared.blob.core.windows.net%2Fmedia%2F2017%2F04%2FMachine_Learning_Toyota_014-1024x711.png" alt="machine_learning_toyota_014"&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Congratulations as you have now completed your first machine learning experiment. Next steps would be to try an improve the prediction and then deploy it as a predictive web service. Experiment further by adding multiple machine learning algorithms, modifying the properties of the Linear Regression algorithm or trying a different algorithm altogether.&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>howto</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
