Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Story
How we grew from 0 to 3 million users
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

ML Engine - Machine Learning in the Cloud

59.9K views
•
October 4, 2018
by
Fireship
YouTube video player
ML Engine - Machine Learning in the Cloud

TL;DR

  • Learn to build and deploy custom ML models on GCP using Python, Firestore, ML Engine, and Firebase Cloud Functions.

Transcript

today we'll start from zero and finish the video with our own custom machine learning model deployed to the cloud as an API we will pull some actual user data that we have saved in the firestore database then we'll export it to data lab so we can train a Python based machine learning model with virtually unlimited compute resources once we have a s... Read More

Key Insights

  • 😄 Python is an essential language for building machine learning models due to its ease of use and robust libraries like scikit-learn.
  • 👤 Firestore serves as a valuable source of data for training predictive models that enhance user experience.
  • 🌥️ Data Lab on GCP provides powerful computational resources for processing and training large datasets in the cloud.
  • 🚂 Scikit-learn offers tools for data preprocessing, cleaning, and algorithm training essential for machine learning tasks.
  • 🌍 ML Engine enables versioning and deployment of machine learning models as APIs for real-world applications on Google Cloud.
  • 👻 Firebase Cloud Functions allow for the creation of serverless APIs to interact with deployed ML models.
  • 🏆 Insomnia, a useful tool for testing API endpoints, validates the functionality and performance of deployed machine learning models.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What are the key components involved in building a custom machine learning model on Google Cloud?

The process includes data collection from Firestore, training the model in Data Lab, deploying it with ML Engine, and creating an API with Firebase Cloud Functions.

Q: How is the data cleaned and prepared for training the machine learning model?

Scikit-learn is used to clean the data and convert string values to numerical classes, enabling the model to make predictions based on the features.

Q: Why is testing data separated from training data in machine learning?

Testing data is separated to validate the model's performance and ensure it can generalize to unseen data, preventing overfitting during training.

Q: How is the machine learning model deployed as an API for real-world use?

The model is saved as a Joblib file in Firebase Storage, then served through ML Engine, allowing predictions to be made in milliseconds via a cloud function.

Summary & Key Takeaways

  • Using Python, Firestore, and GCP services, the video demonstrates building a custom ML model from scratch.

  • The process includes data collection from Firestore, training the model in Data Lab, deploying it with ML Engine, and creating an API with Firebase Cloud Functions.

  • Key steps involve cleaning data with scikit-learn, training a random forest algorithm, and deploying the model as an API using Google Cloud services.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Fireship 📚

How to Build a Video Editing Tool with React and WebAssembly thumbnail
How to Build a Video Editing Tool with React and WebAssembly
Fireship
Build a Chatbot from Scratch - Dialogflow on Node.js thumbnail
Build a Chatbot from Scratch - Dialogflow on Node.js
Fireship
Vim in 100 Seconds thumbnail
Vim in 100 Seconds
Fireship
How to Build a RESTful API with Node.js Express thumbnail
How to Build a RESTful API with Node.js Express
Fireship
How Did Soham Parekh Exploit Remote Work for Multiple Jobs? thumbnail
How Did Soham Parekh Exploit Remote Work for Multiple Jobs?
Fireship
What Are the Key Concepts in Computer Science? thumbnail
What Are the Key Concepts in Computer Science?
Fireship

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots
  • Open Graph Checker

Company

  • About us
  • Our Story
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.