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 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

5.3: Doodle Classifier: Prepping Data in p5.js - Intelligence and Learning

22.8K views
•
March 6, 2018
by
The Coding Train
YouTube video player
5.3: Doodle Classifier: Prepping Data in p5.js - Intelligence and Learning

TL;DR

Processing raw doodle data, creating training and testing datasets, and preparing for JavaScript neural network implementation.

Transcript

alright I am back in my quest to create a doodle classifier I finished looking at and examining and processing the data in processing using the load bytes function and rendering the images to a window and saving out the data files so what I have now and I'm gonna so I'm gonna quit processing what I did in between the previous video in this one sure... Read More

Key Insights

  • ❓ Processing pixel data in JavaScript using p5.js for doodle classification.
  • ❓ Creation of training and testing datasets for neural network preparation.
  • 😀 Challenges faced with the binary data loading function in p5.js.
  • ❓ Structuring data into category-specific objects for efficient neural network training.
  • 👨‍💻 Refactoring code during development for improved functionality.
  • 🎮 Preparation for neural network implementation in the next video tutorial.
  • 🍵 Demonstrating data handling techniques for machine learning projects.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How did the creator prepare the raw data for the doodle classifier?

The creator used p5.js to load and process pixel data of cats, rainbows, and trains doodles, creating datasets with 1000 entries each and dividing them into training and testing sets.

Q: Why did the creator split the datasets into training and testing sets?

The creator split the datasets to differentiate between data used for training the neural network and data used for testing its accuracy and performance.

Q: What challenges did the creator face when loading the binary files in JavaScript?

The creator faced challenges with the load bytes function not being implemented in p5.js at the time, requiring the creation of an additional load binary j s file to handle the binary data loading.

Q: How did the creator ensure proper data organization for the neural network implementation?

The creator structured the data by creating objects for each category (cats, rainbows, trains) with properties for training and testing data, ensuring a clear distinction for the neural network.

Summary & Key Takeaways

  • Demonstrated loading and processing pixel data using p5.js for doodle classification.

  • Created datasets for cats, rainbows, and trains doodles with 1000 entries each.

  • Divided datasets into training and testing sets for neural network preparation.


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 The Coding Train 📚

ITP/IMA Winter Show 2019 thumbnail
ITP/IMA Winter Show 2019
The Coding Train
Text Generation using Spell with Nabil Hassein thumbnail
Text Generation using Spell with Nabil Hassein
The Coding Train
Coding Challenge #126: Toothpicks thumbnail
Coding Challenge #126: Toothpicks
The Coding Train
Classifying Poses with ml5.js Part 2 thumbnail
Classifying Poses with ml5.js Part 2
The Coding Train
ITP/IMA Winter Show 2018 thumbnail
ITP/IMA Winter Show 2018
The Coding Train
Coding Challenge #116: Lissajous Curve Table thumbnail
Coding Challenge #116: Lissajous Curve Table
The Coding Train

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

Company

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

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.