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

Coding Challenge #70: Nearest Neighbors Recommendation Engine - Part 2

25.1K views
•
May 10, 2017
by
The Coding Train
YouTube video player
Coding Challenge #70: Nearest Neighbors Recommendation Engine - Part 2

TL;DR

Creating a web app to find 5 most similar users using K-nearest neighbors algorithm.

Transcript

okay part two here we are with I made some changes now I have a web application that lists all the possible users in my system and I can pick the biskits King for example and hit submit nothing happens yet but what I want to do is hit submit and I want to see the five most similar users to the biskits King this is leading us towards this idea of K ... Read More

Key Insights

  • 👍 Web app revamped to list users and implement K-nearest neighbors.
  • 👤 Utilizing Euclidean distance for similarity comparisons among users.
  • 🤩 Future plan includes predicting star ratings for new users in regression approach.
  • 🖐️ Sorting algorithm plays a vital role in identifying the most similar users.
  • 👶 Consideration for regression prediction to estimate numerical ratings for new users.
  • ❓ JavaScript arrays offer sorting functionality for efficient data organization.
  • 💯 Final output showcases top 5 most similar users with their similarity scores.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What changes were made to the web app in this video?

The developer updated the app to list all users and find the 5 most similar users to a selected user upon submission.

Q: How does the K-nearest neighbors algorithm function in this context?

The algorithm calculates similarity scores between users using Euclidean distance to determine the most similar users based on their preferences.

Q: What approach is planned for the next video?

The developer intends to predict star ratings for new users who haven't seen all movies, aiming for a regression solution to estimate ratings numerically.

Q: Why is sorting crucial in finding the most similar users?

Sorting allows the comparison of similarity scores between users and organizes them to identify the most similar users for recommendation purposes.

Summary & Key Takeaways

  • Developer modifies web app to list users and find most similar to selected user.

  • Implementing K-nearest neighbors approach for similarity comparison.

  • Future prediction to estimate star rating for new user in next video.


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 📚

Classifying Poses with ml5.js Part 2 thumbnail
Classifying Poses with ml5.js Part 2
The Coding Train
Text Generation using Spell with Nabil Hassein thumbnail
Text Generation using Spell with Nabil Hassein
The Coding Train
ITP/IMA Winter Show 2019 thumbnail
ITP/IMA Winter Show 2019
The Coding Train
Coding Challenge #126: Toothpicks thumbnail
Coding Challenge #126: Toothpicks
The Coding Train
Computer Mouse Conference Demos! (node.js + tensorflow.js) thumbnail
Computer Mouse Conference Demos! (node.js + tensorflow.js)
The Coding Train
ITP/IMA Winter Show 2018 thumbnail
ITP/IMA Winter Show 2018
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.