Book Image

Applied Supervised Learning with R

By : Karthik Ramasubramanian, Jojo Moolayil
Book Image

Applied Supervised Learning with R

By: Karthik Ramasubramanian, Jojo Moolayil

Overview of this book

R provides excellent visualization features that are essential for exploring data before using it in automated learning. Applied Supervised Learning with R helps you cover the complete process of employing R to develop applications using supervised machine learning algorithms for your business needs. The book starts by helping you develop your analytical thinking to create a problem statement using business inputs and domain research. You will then learn different evaluation metrics that compare various algorithms, and later progress to using these metrics to select the best algorithm for your problem. After finalizing the algorithm you want to use, you will study the hyperparameter optimization technique to fine-tune your set of optimal parameters. The book demonstrates how you can add different regularization terms to avoid overfitting your model. By the end of this book, you will have gained the advanced skills you need for modeling a supervised machine learning algorithm that precisely fulfills your business needs.
Table of Contents (12 chapters)
Applied Supervised Learning with R
Preface

Building Serverless ML Applications


Serverless computing is the new paradigm within cloud computing. It allows us to build and run applications and services without thinking about servers. In reality, the application we build still runs on a cloud server, but the entire process for server management is done by the cloud service provider, such as AWS. By leveraging the serverless platform, we can build and deploy robust, large-scale, complex applications by only focusing on our application code instead of worrying about provisioning, configuring, and managing servers.

We have explored some important components of the AWS serverless platform such as AWS Lambda in this chapter, and we can now leverage these solutions to build a machine learning application where we can only focus on the core ML code and forget about provisioning infrastructure and scaling applications.

Exercise 101: Building a Serverless Application Using API Gateway, AWS Lambda, and SageMaker

In this exercise, we will build a...