Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Serverless Machine Learning with Amazon Redshift ML
  • Table Of Contents Toc
  • Feedback & Rating feedback
Serverless Machine Learning with Amazon Redshift ML

Serverless Machine Learning with Amazon Redshift ML

By : Debu Panda, Phil Bates, Bhanu Pittampally, Sumeet Joshi
5 (3)
close
close
Serverless Machine Learning with Amazon Redshift ML

Serverless Machine Learning with Amazon Redshift ML

5 (3)
By: Debu Panda, Phil Bates, Bhanu Pittampally, Sumeet Joshi

Overview of this book

Amazon Redshift Serverless enables organizations to run petabyte-scale cloud data warehouses quickly and in a cost-effective way, enabling data science professionals to efficiently deploy cloud data warehouses and leverage easy-to-use tools to train models and run predictions. This practical guide will help developers and data professionals working with Amazon Redshift data warehouses to put their SQL knowledge to work for training and deploying machine learning models. The book begins by helping you to explore the inner workings of Redshift Serverless as well as the foundations of data analytics and types of data machine learning. With the help of step-by-step explanations of essential concepts and practical examples, you’ll then learn to build your own classification and regression models. As you advance, you’ll find out how to deploy various types of machine learning projects using familiar SQL code, before delving into Redshift ML. In the concluding chapters, you’ll discover best practices for implementing serverless architecture with Redshift. By the end of this book, you’ll be able to configure and deploy Amazon Redshift Serverless, train and deploy machine learning models using Amazon Redshift ML, and run inference queries at scale.
Table of Contents (19 chapters)
close
close
1
Part 1:Redshift Overview: Getting Started with Redshift Serverless and an Introduction to Machine Learning
5
Part 2:Getting Started with Redshift ML
11
Part 3:Deploying Models with Redshift ML

Creating a K-means ML model

In this section, we will walk through the process with the help of a use case. In this use case, assume you are a data analyst for an e-commerce company specializing in home improvement goods. You have been tasked with classifying economic segments in different regions, based on income, so that you can better target customers, based on various factors, such as median home value. We will use this dataset from Kaggle: https://www.kaggle.com/datasets/camnugent/california-housing-prices.

From this dataset, you will use the median_income, latitude, and longitude attributes so that you can create clusters based on location and income.

The syntax to create a K-means model is slightly different from what you will have used up to this point, so let’s dive into that.

Creating a model syntax overview for K-means clustering

Here is the basic syntax to create a K-means model:

CREATE model model_name
FROM (Select_statement)
FUNCTION  function_name...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY