Book Image

Hands-On Machine Learning with Azure

By : Thomas K Abraham, Parashar Shah, Jen Stirrup, Lauri Lehman, Anindita Basak
Book Image

Hands-On Machine Learning with Azure

By: Thomas K Abraham, Parashar Shah, Jen Stirrup, Lauri Lehman, Anindita Basak

Overview of this book

Implementing Machine learning (ML) and Artificial Intelligence (AI) in the cloud had not been possible earlier due to the lack of processing power and storage. However, Azure has created ML and AI services that are easy to implement in the cloud. Hands-On Machine Learning with Azure teaches you how to perform advanced ML projects in the cloud in a cost-effective way. The book begins by covering the benefits of ML and AI in the cloud. You will then explore Microsoft’s Team Data Science Process to establish a repeatable process for successful AI development and implementation. You will also gain an understanding of AI technologies available in Azure and the Cognitive Services APIs to integrate them into bot applications. This book lets you explore prebuilt templates with Azure Machine Learning Studio and build a model using canned algorithms that can be deployed as web services. The book then takes you through a preconfigured series of virtual machines in Azure targeted at AI development scenarios. You will get to grips with the ML Server and its capabilities in SQL and HDInsight. In the concluding chapters, you’ll integrate patterns with other non-AI services in Azure. By the end of this book, you will be fully equipped to implement smart cognitive actions in your models.
Table of Contents (14 chapters)

Creating a bot with Bot Service

When we create a bot with Azure Bot Service, Azure does a lot of our work for us. It provisions the bot, creates a bot project based on the bot builder SDK, and publishes the bot. All you need to create a bot in this way is an Azure subscription.

  1. To begin with, go to the Bot Framework website at https://dev.botframework.com, which will take you to the Azure portal:
  1. Alternatively, we can go directly to the Azure portal at https://portal.azure.com and search for Bot Service:

  1. For this example, select the Web App Bot option:
  1. After that, provide a bot name, resource group, location, pricing tier, app name, and a programming language for the bot. Currently, C# and Node.js are supported. C# is useful for .Net developers, while Node.js is useful for JavaScript or Node developers.
  2. Select a template to set up a bot project. The template will include...