Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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
$19.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8 (5 Ratings)
Paperback Jun 2024 552 pages 1st Edition
eBook
$9.99 $39.99
Paperback
$49.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Kieran Kavanagh
Arrow right icon
$19.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8 (5 Ratings)
Paperback Jun 2024 552 pages 1st Edition
eBook
$9.99 $39.99
Paperback
$49.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$9.99 $39.99
Paperback
$49.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
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 : 9781803245270
Category :
Languages :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

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

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 $5 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 $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 126.97
Data Engineering with Google Cloud Platform
$41.99
Google Machine Learning and Generative AI for Solutions Architects
$49.99
Database Design and Modeling with Google Cloud
$34.99
Total $ 126.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

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.