Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Google Machine Learning and Generative AI for Solutions Architects
Google Machine Learning and Generative AI for Solutions Architects

Google Machine Learning and Generative AI for Solutions Architects: ​Build efficient and scalable AI/ML solutions on Google Cloud

Arrow left icon
Profile Icon Kieran Kavanagh
Arrow right icon
Can$12.99 Can$50.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8 (5 Ratings)
eBook Jun 2024 552 pages 1st Edition
eBook
Can$12.99 Can$50.99
Paperback
Can$63.99
Subscription
Free Trial
Arrow left icon
Profile Icon Kieran Kavanagh
Arrow right icon
Can$12.99 Can$50.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8 (5 Ratings)
eBook Jun 2024 552 pages 1st Edition
eBook
Can$12.99 Can$50.99
Paperback
Can$63.99
Subscription
Free Trial
eBook
Can$12.99 Can$50.99
Paperback
Can$63.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Google Machine Learning and Generative AI for Solutions Architects

AI/ML Concepts, Real-World Applications, and Challenges

This chapter will introduce basic concepts that will be explored in more detail throughout the rest of the book. We understand that readers of this book may be starting from different stages in their artificial intelligence/machine learning (AI/ML) journey, whereby some readers may already be advanced practitioners who are familiar with running AI/ML workloads while others may be newer to AI/ML in general. For this reason, we will briefly describe important fundamental concepts as required throughout the book to ensure that all readers have a common baseline upon which to build their understanding of the topics we discuss. Readers who are newer to AI/ML will benefit from learning the important underlying concepts rather than diving straight into the deep end of each topic without a baseline context, and advanced practitioners should find them to be useful knowledge refreshers.

In this chapter, we’re going to cover the...

Terminology – AI, ML, DL, and GenAI

Here, we describe how the terms AI and ML relate to each other. It should be noted that these terms are often used interchangeably, as well as the abbreviated term, AI/ML, which serves as an umbrella term to encapsulate both AI and ML. We also describe how the terms DL and GenAI fit in under the umbrella of AI/ML.

We’ll begin by briefly including officially-accepted definitions of the terms AI and ML. We have chosen to include definitions from the Collins English Dictionary, in which AI is defined as “a type of computer technology concerned with making machines work in an intelligent way, similar to the way that the human mind works” and ML is defined as “a branch of artificial intelligence in which a computer generates rules underlying or based on raw data that has been fed into it.” The term DL has not yet been officially included as a dictionary term, but the Collins English Dictionary lists it as a...

A brief history of AI/ML

If we traveled back in time by only a few years — to the year 2015 — and compared the state of the AI/ML industry to what it is today, we would see that relatively few companies had commercially implemented large-scale AI/ML use cases at that point. Although we would find academic research being performed in this space, we wouldn’t regularly hear AI/ML being discussed in mainstream media, and successful commercial or industrial implementations had mainly been achieved only by some of the world’s largest, industry-leading technology or niche companies. Jumping forward by just 2 years, we find that by the end of 2017, the tech industry is abuzz with discussions of AI/ML, and it seems to be the main topic—or at least one of the main topics—on everybody’s mind.

Based on our time-traveling adventure, one would not be faulted for believing that AI/ML is a brand-new term that suddenly emerged only in the past few...

ML approaches and use cases

AI/ML applications are usually intended to make some kind of prediction based on input data, with perhaps the exception of Generative AI, because Generative AI is intended to generate content rather than simply making predictions. In order to make predictions, ML models first need to be trained, and how they are trained depends on the approach being used. While ML is a broad concept that encompasses many different fields of research, with endless new use cases being created almost every day, the industry generally groups ML approaches into three high-level categories:

  • Supervised learning (SL)
  • Unsupervised learning (UL)
  • Reinforcement learning (RL)

SL

SL is the most commonly used type of ML in the industry and perhaps the easiest to describe. The term supervised indicates that we are informing the ML model of the correct answers during the training process. For example, let’s imagine that we want to train a model to be able...

A brief discussion of ML basic concepts

Mathematics is the hidden magic behind ML, and pretty much all ML algorithms function by using mathematics to find relationships and patterns in data. This book focuses on practical implementations of AI/ML on Google Cloud; it is not a theoretical academic course, so we will not go into a lot of detail on the mathematical equations upon which ML models operate, but we will include mathematical formulae for reference where relevant throughout the book, and here we present some basic concepts that are widely used in AI/ML algorithms. There are plenty of academic materials available for learning each of these concepts in more detail. As an architect, understanding the mathematical concepts could be considered an extracurricular credit rather than a requirement; you usually would not need to dive into the mathematical details of ML algorithms in your day-to-day work, but if you want to have a better understanding of how some of the algorithms work...

Common challenges in developing ML applications

Companies typically run into common kinds of challenges when they embark on an AI/ML development journey, and it is often a key requirement of an architect’s role to understand common challenges in a given problem space. As an architect, if you are not aware of challenges and how to address them, it’s unlikely that you will design an appropriate solution. In this section, we introduce the most frequently encountered challenges and pitfalls at a high level, and in later sections of this book, we discuss ways to address or alleviate some of these hurdles of AI/ML development.

Gathering, processing, and labeling data

Data is the key ingredient in ML because, in general, ML models cannot function without data. There’s an often-quoted adage that data scientists spend up to 80% of their time working on finding, cleaning, and processing data before they can begin to make use of it for analytical or data science purposes...

Summary

In this chapter, we introduced basic terminology related to AI/ML and some background information on how AI/ML has developed over time. We also explored different AI/ML approaches that exist today and some of their applications in the real world. Finally, and perhaps most importantly, we summarized common challenges and pitfalls that companies typically run into when they begin to implement AI/ML workloads.

In the coming chapters, we will dive deeper into the model development process.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Understand key concepts, from fundamentals through to complex topics, via a methodical approach
  • Build real-world end-to-end MLOps solutions and generative AI applications on Google Cloud
  • Get your hands on a code repository with over 20 hands-on projects for all stages of the ML model development lifecycle
  • Purchase of the print or Kindle book includes a free PDF eBook

Description

Most companies today are incorporating AI/ML into their businesses. Building and running apps utilizing AI/ML effectively is tough. This book, authored by a principal architect with about two decades of industry experience, who has led cross-functional teams to design, plan, implement, and govern enterprise cloud strategies, shows you exactly how to design and run AI/ML workloads successfully using years of experience from some of the world’s leading tech companies. You’ll get a clear understanding of essential fundamental AI/ML concepts, before moving on to complex topics with the help of examples and hands-on activities. This will help you explore advanced, cutting-edge AI/ML applications that address real-world use cases in today’s market. You’ll recognize the common challenges that companies face when implementing AI/ML workloads, and discover industry-proven best practices to overcome these. The chapters also teach you about the vast AI/ML landscape on Google Cloud and how to implement all the steps needed in a typical AI/ML project. You’ll use services such as BigQuery to prepare data; Vertex AI to train, deploy, monitor, and scale models in production; as well as MLOps to automate the entire process. By the end of this book, you will be able to unlock the full potential of Google Cloud's AI/ML offerings.

Who is this book for?

This book is for aspiring solutions architects looking to design and implement AI/ML solutions on Google Cloud. Although this book is suitable for both beginners and experienced practitioners, basic knowledge of Python and ML concepts is required. The book focuses on how AI/ML is used in the real world on Google Cloud. It briefly covers the basics at the beginning to establish a baseline for you, but it does not go into depth on the underlying mathematical concepts that are readily available in academic material.

What you will learn

  • Build solutions with open-source offerings on Google Cloud, such as TensorFlow, PyTorch, and Spark
  • Source, understand, and prepare data for ML workloads
  • Build, train, and deploy ML models on Google Cloud
  • Create an effective MLOps strategy and implement MLOps workloads on Google Cloud
  • Discover common challenges in typical AI/ML projects and get solutions from experts
  • Explore vector databases and their importance in Generative AI applications
  • Uncover new Gen AI patterns such as Retrieval Augmented Generation (RAG), agents, and agentic workflows

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jun 28, 2024
Length: 552 pages
Edition : 1st
Language : English
ISBN-13 : 9781803247021
Category :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Jun 28, 2024
Length: 552 pages
Edition : 1st
Language : English
ISBN-13 : 9781803247021
Category :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Can$6 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Can$6 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total Can$ 162.97
Data Engineering with Google Cloud Platform
Can$53.99
Google Machine Learning and Generative AI for Solutions Architects
Can$63.99
Database Design and Modeling with Google Cloud
Can$44.99
Total Can$ 162.97 Stars icon
Banner background image

Table of Contents

23 Chapters
Part 1:The Basics Chevron down icon Chevron up icon
Chapter 1: AI/ML Concepts, Real-World Applications, and Challenges Chevron down icon Chevron up icon
Chapter 2: Understanding the ML Model Development Life Cycle Chevron down icon Chevron up icon
Chapter 3: AI/ML Tooling and the Google Cloud AI/ML Landscape Chevron down icon Chevron up icon
Part 2:Diving in and building AI/ML solutions Chevron down icon Chevron up icon
Chapter 4: Utilizing Google Cloud’s High-Level AI Services Chevron down icon Chevron up icon
Chapter 5: Building Custom ML Models on Google Cloud Chevron down icon Chevron up icon
Chapter 6: Diving Deeper – Preparing and Processing Data for AI/ML Workloads on Google Cloud Chevron down icon Chevron up icon
Chapter 7: Feature Engineering and Dimensionality Reduction Chevron down icon Chevron up icon
Chapter 8: Hyperparameters and Optimization Chevron down icon Chevron up icon
Chapter 9: Neural Networks and Deep Learning Chevron down icon Chevron up icon
Chapter 10: Deploying, Monitoring, and Scaling in Production Chevron down icon Chevron up icon
Chapter 11: Machine Learning Engineering and MLOps with Google Cloud Chevron down icon Chevron up icon
Chapter 12: Bias, Explainability, Fairness, and Lineage Chevron down icon Chevron up icon
Chapter 13: ML Governance and the Google Cloud Architecture Framework Chevron down icon Chevron up icon
Chapter 14: Additional AI/ML Tools, Frameworks, and Considerations Chevron down icon Chevron up icon
Part 3:Generative AI Chevron down icon Chevron up icon
Chapter 15: Introduction to Generative AI Chevron down icon Chevron up icon
Chapter 16: Advanced Generative AI Concepts and Use Cases Chevron down icon Chevron up icon
Chapter 17: Generative AI on Google Cloud Chevron down icon Chevron up icon
Chapter 18: Bringing It All Together: Building ML Solutions with Google Cloud and Vertex AI Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8
(5 Ratings)
5 star 80%
4 star 20%
3 star 0%
2 star 0%
1 star 0%
covey Jul 02, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is one of the most comprehensive courses on AI in the cloud that I've encountered so far! I love how it starts with the basics and then builds incrementally to cover advanced topics. This makes it accessible for almost anybody to start learning the concepts. I'm a solutions architect with a lot of experience in the tech industry, and I really enjoyed how the book covers the theoretical concepts in each chapter, and then provides guidance on how to actually build these systems in the cloud, along with best practices to optimize the implementation in terms of efficiency, reliability, cost, and other important architectural factors.My 13-year-old is also learning from this book, so it really does appeal to a broad audience!
Amazon Verified review Amazon
S.Kundu Aug 29, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Google Machine Learning and Generative AI for Solutions Architects" provides an introduction to foundational AI/ML concepts and Google Cloud's tools, guiding readers through practical applications, custom model building and data preparation techniques. It covers model deployment, MLOps practices and addresses fairness, bias and explainability in AI models. The book concludes with a comprehensive overview of generative AI, including its evolution, applications and advanced techniques.A few important topics of the book that I want to highlight are as below:The book begins with introduction to foundational AI/ML concepts and explores various real-world applications and challenges, laying the groundwork for understanding more advanced topics in the book along with explaining ML Model Development Life CycleNext, it provides provides an overview of setting up and utilizing Google Cloud AI/ML services, including an introduction to the platform's tools and capabilities.It then focuses on practical applications of high-level AI services for common tasks such as image recognition and sentiment analysis​.The book guides readers through building custom machine learning models on Google Cloud, using popular libraries like scikit-learn along with Vertex AI.It further covers data preparation techniques for AI/ML, including building both batch and streaming data pipelines on Google Cloud and discusses techniques for feature engineering and dimensionality reduction, highlighting tools such as PCA, LDA and the Vertex AI Feature Store​The book then explores the concept of hyperparameters and strategies for hyperparameter optimization, providing hands-on examples with Vertex AI​ and also introduces neural networks and deep learning concepts, including model implementation in TensorFlow and challenges in optimizing neural networks.The book covers deployment strategies, monitoring and scaling models in production environments, including A/B testing and edge optimization and discusses the principles of MLOps (Machine Learning Operations) and how to implement them using tools like Vertex AI Pipelines for efficient model management​.It then examines critical issues around bias, fairness and explainability in AI models, as well as the importance of lineage in tracking model development​​ and focuses on governance practices and the architecture framework necessary for managing AI/ML workloads on Google Cloud.Finally, the book covers the concepts and techniques of generative AI, discussing its evolution and applications along with more advanced generative AI techniques, providing insights into state-of-the-art models and their practical uses​.
Amazon Verified review Amazon
Vipin Jul 07, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is a must-read for anyone working with AI/ML on Google Cloud. As a practitioner in the field, I found this book to be both comprehensive and incredibly practical.The chapters skillfully guide you through essential AI/ML concepts, which is extremely helpful if you're new to the field. The book also focuses on real-world challenges in building AI applications and their solutions. The insights shared are invaluable, and access to a repo of hands-on projects provide a fantastic way to apply the knowledge gained.I was particularly impressed with the detailed exploration of Google Cloud's AI/ML tools and services. The step-by-step instructions on everything from data preparation to model deployment are clear and easy to follow.Whether you're a beginner or an experienced practitioner, this book has something for everyone. Highly recommended!
Amazon Verified review Amazon
Damien Jul 05, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
An exceptional textbook! It breaks down complex concepts into easily digestible sections. It starts with the most basic principles for beginners and the chapters increase in complexity as you develop your understanding. A must for any capability level and an ideal intro for the next generation to gain knowledge in what will be an integrall part of their lives. Highly recommend!
Amazon Verified review Amazon
Steven Fernandes Aug 06, 2024
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
An essential guide for leveraging Google Cloud's open-source offerings like TensorFlow, PyTorch, and Spark to build machine learning solutions. This book covers sourcing and preparing data, constructing and deploying ML models, and crafting an effective MLOps strategy on Google Cloud. It provides insights into overcoming common challenges in AI/ML projects with expert solutions. Additionally, the book explores advanced topics such as the use of vector databases in generative AI applications and introduces new generative AI patterns like Retrieval Augmented Generation, agents, and agentic workflows, making it a comprehensive resource for professionals in the field.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.