Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Micheal Lanham

Rating No ratings yet

Working with AI is complicated and expensive for many developers. That's why cloud providers have stepped in to make it easier, offering free (or affordable) state-of-the-art models and training tools to get you started. With this book, you'll learn how to use Google's AI-powered cloud services to do everything from creating a chatbot to analyzing text, images, and video. Author Micheal Lanham demonstrates methods for building and training models step-by-step and shows you how to expand your models to accomplish increasingly complex tasks. If you have a good grasp of math and the Python language, you'll quickly get up to speed with Google Cloud Platform, whether you want to build an AI assistant or a simple business AI application. Learn key concepts for data science, machine learning, and deep learning Explore tools like Video AI and AutoML Tables Build a simple language processor using deep learning systems Perform image recognition using CNNs, transfer learning, and GANs Use Google's Dialogflow to create chatbots and conversational AI Analyze video with automatic video indexing, face detection, and TensorFlow Hub Build a complete working AI agent application

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A hands-on guide for Python-savvy developers who want to build practical AI applications—chatbots, image recognition, video analysis—using Google Cloud Platform's managed services and pre-trained models, without burning a hole in their pocket. 【Book Arc】 - **Opening (~0%–10%)**: Sets the stage by explaining why cloud AI is the answer to the high cost of cutting-edge compute, then quickly grounds you in the essential math—perceptrons, gradient descent, and the core equations that power neural networks. - **Early (~10%–24%)**: Moves from theory to practice with deep learning fundamentals: data preparation (including why deep learning tolerates sparsity), batch normalization, regularization, and building your first models in Colab with dropout layers to improve generalization. - **Early (~24%–34%)**: Dives into computer vision with CNNs—how filters extract features, the role of color channels—then expands into transfer learning with pre-trained models and even GANs for generating new images from categories. - **Middle (~34%–52%)**: Shifts to natural language processing, starting with text tokenization and recurrent networks (GRUs) for sequence memory, then advancing to the Transformer architecture with attention mechanisms, and finally building a full chatbot with Google's Dialogflow. - **Late (~52%–end)**: Covers video analysis—capturing webcam feed in Colab, face detection, and video indexing—and wraps up by showing how to assemble everything into a complete AI agent application, with tips on saving and restoring models. 【Key Takeaways】 - **Cloud AI is the great equalizer** (Early): Google Cloud Platform makes state-of-the-art models and training tools affordable or free, removing the compute-cost barrier that crushes individual developers and small businesses. - **Deep learning flips data science rules** (Early): Unlike classic ML, deep learning thrives on data sparsity and suffers from too-similar or duplicated data—so stop cleaning and start feeding. - **Dropout is your generalization friend** (Early): Randomly turning off 50% of neurons during training forces the network to learn robust features, but too much dropout causes validation error to diverge—tune it carefully. - **Filters are just number matrices** (Early): Image convolution filters, like edge detection, are simple matrix multiplications applied step-wise across pixels—understanding this demystifies how CNNs extract features. - **Transfer learning saves you from scratch** (Early): Pre-trained models like those on ImageNet can be repurposed for specialized tasks, but question whether the base dataset matches your domain—license plate recognition needs different training data. - **GANs generate, not retrieve** (Early): Conditioned GANs like BigGAN create images from categories by mapping across latent space—there's no database of images, just pure generation. - **RNNs and Transformers handle sequence** (Middle): Recurrent networks transpose answers through neurons for order-based feature extraction, while attention mechanisms in Transformers replace recurrence entirely for more powerful language models. - **Checkpointing is essential for long training** (Middle): Saving model weights to Google Drive at various epochs lets you extract the best version later—a practice that scales beyond chatbots to any deep learning project. 【Reading Tips】 - **Skim the math-heavy opening** (~0%–10%) if you're already comfortable with calculus and linear algebra—the perceptron equations and gradient descent formulas are foundational but standard; focus on the practical implications. - **Deep-read the Colab notebooks** (Early–Middle): The real value is in the code examples—run them, tweak the dropout rate, adjust the truncation in GANs, and see the effects firsthand rather than just reading. - **Pay extra attention to the data preparation sections** (Early): The contrast between classic data science and deep learning's tolerance for sparsity is a key mental shift that will save you hours of unnecessary cleaning. - **Treat the Transformer chatbot chapter as a milestone** (Middle): The attention mechanism math is complex, but you don't need to master it—understand that it replaces recurrent networks and focus on the practical training and saving workflows. - **Use the final video and agent chapters as a capstone** (Late): These tie everything together—expect to spend time on JavaScript hooks for webcam capture and be ready to integrate multiple services into one application. 【Coverage Limits】 Excerpts cover roughly the first half to two-thirds of the book (through video analysis setup); the final chapters on building a complete AI agent application are only partially represented, so the guide's coverage of that capstone is limited.
Page 14
ery small. In fact, developing cutting-edge AI can be quite expensive computationally, and that equals money. Google likely encountered the same audience I h...
View in text
Excerpt 2
e number of hidden layers, and thus neurons, in the network. Determine the effect this has on the network. Neurons Increase or decrease the number of neurons...
View in text
Excerpt 3
fore, for our current purposes, this method will work great. Keep this in mind when applying transfer learning as it could be highly relevant when training s...
View in text
Excerpt 4
will use this agent as a "cornell movie-dialogs corpus") path_to_movie_lines = os.path.join(path_to_dataset, 'movie_lines.txt') path_to_movie_conversati...
View in text
Excerpt 5
following code: N_Z = 64 # resembles a decoder architecture generator = [ tf.keras.layers.Dense(units=7 * 7 * 64, activation="relu"), tf.keras.la...
View in text
Excerpt 6
just what is immediately around us. Our world and state at any point in time are only partially visible, yet we can accomplish many things. If we put this in...
View in text
Excerpt 7
e. With our Eat/No Eat done as a POC, we will take the next steps toward commercialization by building and deploying the app in the next chapter. screen. The...
View in text
Excerpt 8
ement Learning goals of, Introducing Reinforcement Learning weeks to hatch. The young stay in the nest for two or three months before eventually leaving in s...
View in text
Tags
AI categories
AICloud NativePython
Publish Year: 2020
Language: English
File Format: PDF
File Size: 24.4 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…