Top videos
The KL divergence of distributions P and Q is a measure of how similar P and Q are.
However, the KL Divergence of P and Q is not the same as the KL Divergence of Q and P.
Why?
Learn the intuition behind this in this friendly video.
More about the KL Divergence formula:
https://www.youtube.com/watch?v=sjgZxuCm_8Q
CORRECTION: at 13:41, the probability is 6.1e-5 and not 4.8e-4 (however, the entropy is 1.75, which is correct). Thank you @dlyChimi!
Learn Shannon entropy and information gain by playing a game consisting in picking colored balls from buckets.
Announcement: New Book by Luis Serrano! Grokking Machine Learning. bit.ly/grokkingML
40% discount code: serranoyt
Accompanying blog post: https://medium.com/p/5810d35d54b4/
0:00 Shannon Entropy and Information Gain
2:22 What ball will we pick?
4:33 Quiz
5:06 Question
5:14 Game
7:17 Probability of Winning
7:45 Products
11:00 What if there are more classes?
12:34 Sequence 2
13:44 Sequence 3
14:57 Naive Approach
15:34 Sequence 1
19:44 General Formula
Correction: At 30:42 I write "X = Y". They're not equal, what I meant to say is "X and Y are identically distributed".
The variance is a measure of how spread out a distribution is. In order to estimate the variance, one takes a sample of n points from the distribution, and calculate the average square deviation from the mean.
However, this doesn't give a good estimate of the variance of the distribution. The best estimate, however, is obtained when dividing by n-1 instead of n.
WHY!?!?!?!?!?!?!?
In this video, we dig deeper into why the variance calculation should be divided by n-1 instead of by n. For this, we use an alternate definition of the variance, which doesn't use the mean in its calculation.
*[0:00] Introduction and Bessel's Correction*
- Introducing Bessel's Correction and why we divide by \( n-1 \) instead of \( n \) to estimate variance.
*[0:12] Introduction to Variance Calculation*
- Explaining the premise of calculating variance and introducing the concept of estimating variance using a sample instead of the entire population.
*[1:01] Definition of Variance*
- Defining variance as a measure of how much values deviate from the mean and outlining the basic steps of variance calculation.
*[1:52] Introduction to Bessel's Correction*
- Discussing why we divide by \( n-1 \) when calculating variance and introducing Bessel's Correction.
*[2:35] Challenges of Bessel's Correction*
- Sharing personal challenges in understanding the rationale behind Bessel's Correction and discussing my research process on the topic.
*[3:20] Alternative Definition of Variance*
- Presenting an alternative definition of variance to aid in understanding Bessel's Correction and expressing curiosity about its presence in the literature.
*[4:45] Quick Recap of Mean and Variance*
- Briefly revisiting the concepts of mean and variance, demonstrating how they are calculated with examples, and explaining how variance reflects different distributions.
*[7:05] Sample Mean and Variance Estimation*
- Explaining the challenges of estimating the mean and variance of a distribution using a sample and discussing why sample variance is not a good estimate.
*[8:49] Bessel's Correction and Why \( n-1 \) is Used*
- Explaining how Bessel's Correction provides a better estimate of variance and why we divide by \( n-1 \) instead of \( n \). Emphasizing the importance of making a correct variance estimate.
*[10:51] Why Better Estimation Matters?*
- Discussing why the original estimate is poor and why making a better estimate is crucial. Explaining the significance of sample mean as a good estimate.
*[13:02] Issues with Variance Estimation*
- Illustrating the problems with variance estimation and demonstrating with examples why using the correct mean is essential for accurate estimates. Explaining the accuracy of estimates made using \( n-1 \).
*[15:04] Introduction to Correcting the Estimate*
- Discussing the underestimated variance and the need for correction in estimation.
*[15:57] Adjusting the Variance Formula*
- Explaining the adjustment in the variance formula by changing the denominator from \( n \) to \( n - 1 \).
*[16:22] Calculation Illustration*
- Demonstrating the calculation process of variance with the adjusted formula using examples.
*[16:57] Better Estimate with Bessel's Correction*
- Discussing how the corrected estimate provides a more accurate variance estimation.
*[18:24] New Method for Variance Calculation*
- Introducing a new method for calculating variance without explicitly calculating the mean.
*[20:06] Understanding the Relation between Variance and Variance*
- Explaining the relationship between variance and variance, and how they are related mathematically.
*[21:52] Demonstrating a Bad Calculation*
- Illustrating a flawed method for calculating variance and explaining the need for correction.
*[23:37] The Role of Bessel's Correction*
- Explaining why removing unnecessary zeros in variance calculation leads to better estimates, equivalent to Bessel's Correction.
*[25:08] Summary of Estimation Methods*
- Summarizing the difference between the flawed and corrected estimation methods for variance.
*[26:02] Importance of Bessel's Correction*
- Emphasizing the significance of Bessel's Correction for accurate variance estimation, especially with smaller sample sizes.
*[30:19] Mathematical Proof of Variance Relationship*
- Providing two proofs of the relationship between variance and variance, highlighting their equivalence.
*[35:24] Acknowledgments and Conclusion*
Thanks @mkan543 for the summary!
Never get stuck without AI again. Run three Small Language Models (SLMs)—also called Local LLMs—TinyLlama, Gemma-3 and Phi-4-mini—completely offline; all fit in 4 GB or less and work on any laptop and older hardware.
────────────────────
🔧 Hardware & Software used
• Laptop Ryzen 5 4500U, 8GB RAM, Ollama (no GPU needed!)
• Phone iPhone 13 Pro with Mobile PocketPal AI (local GGUF)
────────────────────
🔗 Model resources
• ChatGPT global outage (news)
https://timesofindia.indiatime....s.com/etimes/trendin
• Phi-4-mini reasoning paper
https://www.microsoft.com/en-u....s/research/wp-conten
• TinyLlama 1.1 https://huggingface.co/TinyLlama/TinyLlama_v1.1
└ GGUF Q4_0 637 MB https://huggingface.co/TheBlok....e/TinyLlama-1.1B-Cha
• Gemma-3 https://huggingface.co/blog/gemma3
└ GGUF Q4_K_M 0.8 GB https://huggingface.co/Maziyar....Panahi/gemma-3-1b-it
• Phi-4-mini https://huggingface.co/microso....ft/Phi-4-mini-reason
└ GGUF Q4_K_M 2.5 GB https://huggingface.co/lmstudi....o-community/Phi-4-mi
────────────────────
🎬 More on local AI
• End of VRAM? https://youtu.be/M9ZphDPRP_w
• Is local AI image generation dying? https://youtu.be/ad7jBaNgIW8
🛠 Support the channel
Patreon https://www.patreon.com/NextTechAndAi
────────────────────
▼ Comment Poll
What would YOU use offline AI for?
#SmallLanguageModels #LocalLLM #OfflineLLM #LocalAI
Gemini 3 is our most intelligent model yet that helps you bring any idea to life. In this video, you’ll learn how to build an AI Agent with Gemini 3 Pro and the Agent Development Kit (ADK). You’ll explore how to build a single agent with access to Google Search as its tool, and interact with it using a web UI. We will also learn how Gemini 3 Pro uses Thought Signatures and we will explore its chain of thought when the agent receives a prompt.
Resources:
Getting started with uv → https://goo.gle/4a7M7KG
ADK Google Search Tool docs → https://goo.gle/3LGFKUR
Github Repo for the AI Agent built with Gemini 3 Pro →
https://goo.gle/4pq0pep
Timestamps:
0:00 - Introduction to Gemini 3 Pro
0:32 - Initializing the Project & Installing ADK and GenAI libraries
1:25 - Setting up Google AI Studio’s API Key & Creating Agent Scaffolding with ADK Create
2:00 - Implementing the Google Search Tool
2:33 - Configuring the Gemini 3 Pro Model
3:14 - Deploying the Agent to ADK Web
4:29 - Testing the Agent
5:24 - Thought Signatures and Analyzing Chain of Thought
6:40 - Conclusion
Speaker: Smitha Kolan
Products Mentioned: Gemini, Google AI, Agent Development Kit (ADK)
Get Hostinger VPS - https://www.hostinger.com/in/ishan
Coupon codes
10% off on 12 month plans - ISHAN
15% off on 24 month plans - ISHAN15
Live n8n workflow link: https://n8n.srv1219917.hstgr.c....loud/form/2c68eba8-4
Get Gemini Nano Banana Pro API: https://ai.studio/
Sign up for free on Apify and get $5 worth of free credits: https://apify.com/
YT Transcript API: https://apify.com/pintostudio/youtube-transcript-scraper
POST Method API Endpoint: https://api.apify.com/v2/acts/....faVsWy9VTSNVIhWpR/ru
Sign up on Cloudinary: https://cloudinary.com/
This is the ultimate, no-code guide to building and deploying your first AI agent in under 30 minutes using N8N!
In this step-by-step tutorial, you'll learn how to connect the world's best AI models with a powerful no-code automation platform (N8N) to create an agent that works for you 24/7.
What you will build:
- A completely automated AI Agent that can consume a long piece of content, like a YouTube video (or article/document), and instantly process it.
- We'll specifically create an agent that summarizes a video and generates polished infographics from the summary, all automatically!
You will learn:
- The no-code stack for building reliable AI agents.
- How to connect N8N to different AI models and APIs.
- The complete process from concept to deployment.
No coding is required. If you want to get ahead in the AI revolution, this is an in-depth guide that can help you.
📸 Instagram: https://bit.ly/ishansharma7390ig
Join MarkitUpX Discord Server: https://discord.gg/fwSpTje4rh
CHAPTERS:-
00:00 Intro
00:24 Workflow
01:32 Setup Hostinger VPS
02:51 Creating nodes
04:18 On form submission
06:31 Extract YouTube transcript
10:35 Turn into Image
12:22 Prompt
15:30 Host image
17:46 Display Image
18:42 Publish workflow
20:52 Conclusion
😁 About Me: https://bit.ly/aboutishansharma
📱 Twitter: https://bit.ly/ishansharma7390twt
📝 LinkedIn: https://bit.ly/ishansharma7390li
🌟 Please leave a LIKE ❤️ and SUBSCRIBE for more AMAZING content! 🌟
3 Books You Should Read
📈Psychology of Money: https://amzn.to/30wx4bW
👀Subtle Art of Not Giving a F: https://amzn.to/30zwWbP
💼Rework: https://amzn.to/3ALsAuz
Tech I use every day
💻MacBook Air M1: https://amzn.to/2YWKPjG
📺LG 29' Ultrawide Monitor: https://amzn.to/3aG0p5p
🎥Sony ZV1: https://amzn.to/3ANqgDb
🎙Blue Yeti Mic: https://amzn.to/2YYbiNN
⽴Tripod Stand: https://amzn.to/3mVUiQc
🔅Ring Light: https://amzn.to/2YQlzLJ
🎧Marshall Major II Headphone: https://amzn.to/3lLhTDQ
🖱Logitech mouse: https://amzn.to/3p8edOC
💺Green Soul Chair: https://amzn.to/3mWIxZP
✨ Tags ✨
ishan sharma,how to build ai agents with n8n,how to build ai agents from scratch,n8n ai agents for beginners,n8n agent tutorial,n8n agent tutorial for beginners,how to build your first ai agent,n8n automation,how to setup n8n automations,ai agent building tutorial,n8n ai agent builder,n8n tutorial for beginners,how to build ai agents for free,how to build ai agents for your own business,Build AI Agents Effortlessly with N8N | Step-by-Step
✨ Hashtags ✨
#aiagents #ai #coding
What is the difference between generative ai and ai agents and agentic AI system? Let's understand it in a very simple, intuitive language.
Langgraph tutorial: https://youtu.be/CnXdddeZ4tQ?si=rkrOziDj4y_dQo4-
AI bootcamp with HR assistant agentic system: https://codebasics.io/bootcamp....s/ai-data-science-bo
👉 Check out PyCharm, the IDE built for data science and AI/ML professionals: https://jb.gg/try-pycharm-now
👉 Free 3-Month PyCharm Pro subscription with coupon code “PyCharm2codebasics”: https://jb.gg/pc_codebasics
Redeem on new purchases before Feb 01, 2026
Do you want to learn technology from me? Check https://codebasics.io/?utm_source=description&utm_medium=yt&utm_campaign=description&utm_id=description for my affordable video courses.
Need help building software or data analytics/AI solutions? My company https://www.atliq.com/ can help. Click on the Contact button on that website.
🎥 Codebasics Hindi channel: https://www.youtube.com/channe....l/UCTmFBhuhMibVoSfYo
#️⃣ Social Media #️⃣
🧑🤝🧑 Discord for Community Support: https://discord.gg/r42Kbuk
📸 Codebasics' Instagram: https://www.instagram.com/codebasicshub/
📝 Codebasics' Linkedin : https://www.linkedin.com/company/codebasics/
------
📝 Dhaval's Linkedin : https://www.linkedin.com/in/dhavalsays/
📝 Hem's Linkedin: https://www.linkedin.com/in/hemvad/
📽️ Hem's Instagram for daily tips: https://www.instagram.com/hemvadivel/
📸 Dhaval's Personal Instagram: https://www.instagram.com/dhavalsays/
🔗 Patreon: https://www.patreon.com/codeba....sics?fan_landing=tru
We're launching Claude Code, our agentic coding tool, in a limited research preview. Claude Code lets developers delegate substantial engineering tasks to Claude directly from their terminal.
Claude Code has already become indispensable for our team. In early testing, Claude completed tasks in one pass that would normally take 45+ minutes of manual work.
With Claude Code, our goal is to better understand how developers use Claude to help improve our models for all.
In this demo, Claude Code completes complex coding tasks that would ordinarily take a significant amount of manual work. It explains an unfamiliar Next.js project, adds new functionality, creates tests, fixes build errors, and explains its changes.
Read more and join the preview: http://www.anthropic.com/news/claude-3-7-sonnet
✅ Best AI App builder is Base44 https://base44.pxf.io/c/6440076/2049275/25619?trafcat=base&sharedid=video68
✅ Submit your Claude Code app to the App Store: https://mikeyno-code.com/Skool-claude
✅ All used prompts + the FULL AI App Building Course are available in the Skool community
In this video, I break down the exact Claude Code tutorial process I use to help beginners build apps with AI in 2026 using my step-by-step method. You'll learn how to use Claude Code effectively, set up Claude Code in VSCode, and understand the key differences between Claude Code vs Cursor so you can choose the right AI coding assistant. I'll also cover Claude Code MCP integration and show you the complete Claude Code setup process, making this the perfect Claude Code for beginners guide that gives you everything you need to start building AI-powered applications from scratch.
00:00 - Intro: Building a Math Helper App
01:58 - Step 1: Installing Claude Code in VS Code
03:43 - Step 2: Testing with a Basic Web App
08:35 - Step 3: Generating the React Native Front End
09:57 - Step 4: Building the Camera & Upload Widget
13:00 - Step 5: Integrating OpenAI for Math Logic
15:48 - Step 6: Creating the "Saved Questions" Section
17:13 - Step 7: Adding the Learn & Quiz Sections
19:50 - Full App Walkthrough
Join my exclusive newsletter: https://mikeyno-code.com/newsletter
📩 For inquiries: Mikey (at) ytmedia.group
In this video, I walk through my complete workflow for tackling large coding projects using Claude Code's plan mode. I demonstrate how to start with a rough dictated prompt, use plan mode to explore the codebase and generate clarifying questions, and break complex work into multi-phase plans that can span multiple context windows. I show my custom rules configuration that keeps plans concise and adds unresolved questions, how to monitor context usage throughout implementation, and my strategy of storing plans as GitHub issues to preserve them across context resets. This approach combines upfront planning with aggressive auto-accept during implementation phases, allowing AI to handle substantial features while maintaining control and code quality. I share practical tips including my favorite concision rule, the benefits of multi-phase planning, and how to effectively manage context windows for large projects.
Join my newsletter on AI Hero:
https://www.aihero.dev/s/y-newsletter
Become an AI Hero with my AI SDK v5 Crash Course:
https://www.aihero.dev/worksho....ps/ai-sdk-v5-crash-c
Follow Matt on Twitter
https://twitter.com/mattpocockuk
Join the Discord:
https://aihero.dev/discord
MIT RES.14-004 Seven Questions About Tariffs That Everyone Should Know the Answer To, IAP 2026
Instructor: Arnaud Costinot
View the complete course: https://ocw.mit.edu/courses/re....s-14-004-seven-quest
YouTube Playlist: https://www.youtube.com/playli....st?list=PLUl4u3cNGP6
It is hard to predict what US tariffs will look like in a few months, or even in a few weeks from now. But there are many questions about tariffs that can be answered through a combination of theory and data. This lecture discusses seven that everyone should know the answers to.
Question #1: What Is (Always) Bad About Tariffs? (05:16)
Question #2: What is (Potentially) Good About Tariffs? (13:22)
Question #3: Should a Country (Sometimes) Use Tariffs? (28:15)
Question #4: How Do We Know Whether (a Particular Set of) Tariffs Are Good or Bad? (43:08)
Question #5: What Was the Impact of the 2018–2019 Trade War? (46:59)
Question #6: Are Global Tariffs Unfair to the United States? (56:56)
Question #7: What Is (Really) Bad about Trade Wars? (1:02:27)
License: Creative Commons BY-NC-SA
More information at https://ocw.mit.edu/terms
More courses at https://ocw.mit.edu
Support OCW at http://ow.ly/a1If50zVRlQ
We encourage constructive comments and discussion on OCW’s YouTube and other social media channels. Personal attacks, hate speech, trolling, and inappropriate comments are not allowed and may be removed. More details at https://ocw.mit.edu/comments.
MIT 18.156 Projection Theory, Spring 2025
Instructor: Lawrence D Guth
View the complete course: https://ocw.mit.edu/courses/18....-156-projection-theo
YouTube Playlist: https://www.youtube.com/playli....st?list=PLUl4u3cNGP6
We formulate the main questions and goals of the class, especially the exceptional set problem.
License: Creative Commons BY-NC-SA
More information at https://ocw.mit.edu/terms
More courses at https://ocw.mit.edu
Support OCW at http://ow.ly/a1If50zVRlQ
We encourage constructive comments and discussion on OCW’s YouTube and other social media channels. Personal attacks, hate speech, trolling, and inappropriate comments are not allowed and may be removed. More details at https://ocw.mit.edu/comments.
For more information about Stanford’s Artificial Intelligence professional and graduate programs, visit: https://stanford.io/ai
November 18, 2025
This lecture covers career advice and a guest speaker.
To learn more about enrolling in this course, visit: https://online.stanford.edu/co....urses/cs230-deep-lea
Please follow along with the course schedule and syllabus: https://cs230.stanford.edu/syllabus/
View the playlist: https://www.youtube.com/playli....st?list=PLoROMvodv4r
Guest Speaker
Laurence Moroney
Best-selling AI author and award-winning researcher
Andrew Ng
Founder of DeepLearning.AI
Adjunct Professor, Stanford University’s Computer Science Department
Kian Katanforoosh
CEO and Founder of Workera
Adjunct Lecturer, Stanford University’s Computer Science Department
For more information about Stanford’s graduate programs, visit: https://online.stanford.edu/graduate-education
December 5, 2025
This lecture covers:
• Recap
• Trending topics
• Closing thoughts
To follow along with the course schedule and syllabus, visit: https://cme295.stanford.edu/syllabus/
Chapters:
00:00:00 Introduction
00:01:12 Transformer
00:06:35 Transformer-based models & tricks
00:11:17 Large Language Models
00:15:05 LLM training
00:24:09 LLM tuning
00:29:41 LLM reasoning
00:38:37 Agentic LLMs (RAG, tool calling)
00:44:09 LLM evaluation
00:48:57 Vision Transformer
01:04:02 Diffusion-based LLMs
01:23:38 Closing thoughts
01:50:16 Thank you!
Afshine Amidi is an Adjunct Lecturer at Stanford University.
Shervine Amidi is an Adjunct Lecturer at Stanford University.
View the course playlist: https://www.youtube.com/playli....st?list=PLoROMvodv4r
For more information about Stanford’s graduate programs, visit: https://online.stanford.edu/graduate-education
February 6, 2026
This lecture covers:
• A randomized controlled trial examining the impact of AI-mediated feedback on students' disciplinary writing performance and learning
• An introduction to and evaluation of FeedbackWriter
• How knowledge engineering can enhance cognitive fidelity and enable reliable feedback generation
To follow along with the seminar schedule, visit: https://hci.stanford.edu/
Xu Wang is an Assistant Professor in Computer Science and Engineering and the School of Information (By courtesy) at the University of Michigan.
For more information about Stanford's online Artificial Intelligence programs visit: https://stanford.io/ai
This lecture covers:
1. The course (10 mins)
2. Human language and word meaning (15 mins)
3. Word2vec introduction (15 mins)
4. Word2vec objective function gradients (25 mins)
5. Optimization basics (5 mins)
6. Looking at word vectors (10 mins or less)
Key learning: The (astounding!) result that word meaning can be represented rather
well by a (high-dimensional) vector of real numbers
To learn more about enrolling in this course visit: https://online.stanford.edu/co....urses/cs224n-natural
To follow along with the course schedule and syllabus visit: hhttps://web.stanford.edu/class..../archive/cs/cs224n/c
Professor Christopher Manning
Thomas M. Siebel Professor in Machine Learning, Professor of Linguistics and of Computer Science
Director, Stanford Artificial Intelligence Laboratory (SAIL)