Save this video free

Data Mining | L15 : MatSketch

UofU Data Science · 1:15:27 · Watch on YouTube

Data Mining | L15 : MatSketch Watch on YouTube →

Overview

Matrix sketching reduces the cost of PCA and related tasks by streaming rows of a large matrix into a smaller representation that preserves important structure. The lecture compares four methods: exact covariance summation, Frequent Directions, weighted row sampling, and CountSketch, explaining their storage, speed, and approximation trade-offs, including when CountSketch supports regression.

Key takeaways

Chapters

0:00 Dimensionality Reduction Schedule and Matrix Sketching Context
4:30 SVD, Variance Directions, and Rank-K Projection
9:10 Positive Semidefinite Eigenvalue Decomposition
18:43 Connecting AᵀA Eigenvectors to the SVD
23:56 Why Large Matrices Need Streaming Sketches
30:36 Exact Covariance Summation for Small Feature Counts
35:20 Frequent Directions Maintains an L-by-D Buffer
40:55 Frequent Directions Shrinks Singular Values in Batches
44:28 Frequent Directions Gives a Relative Projection Guarantee
49:50 Weighted Row Sampling Preserves Representative Data Points
55:00 Leverage Scores Improve Row-Sampling Guarantees
59:12 CountSketch Hashes and Signs Rows into a Compact Matrix
1:04:00 CountSketch Preserves All Directions for Regression
1:07:40 Running Regression on a Sketched Dataset
1:10:16 Choosing Among the Four Matrix Sketching Methods

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:20 Uh great. So let's get started. Um so welcome back everyone. Today we'll be continuing on the section on dimensionality reduction talking about matrix sketching which is how to think about these things at very large scales. Um so just just want to peek at the schedule again. Um where are we? The the streaming homework is due today. Um so um so hopefully you've mostly finished that. If not, there's kind of um um so one more TA hour. Uh so after class, uh the the intermediate report will be due next

1:09 week and hopefully people have been um so signing up for times. Um I was uh so we're a little constrained the time because my schedule's really bad and then the TA who I had had assigned to help me with all this. He's at an academic conference the week we're supposed to be doing the meetings. If you can't find a good time for your group, send me email. We'll try and work something out. But we've I've tried to give a diversity of times, but if nothing works out, please let me know. And also CCTA FAD and so we'll try and find a solution. Um, okay. Um we're in the dimensional reduction

1:57 section. Again, we're doing matrix sketching today. Um will the um I want to point out a couple of the other lectures which are coming up. The metric learning lecture is something where you are we're not so far everything else we're gonna we like using ukitian distance for the most part. um it's it's easy and nice to work with. But sometimes you don't know how to measure the similarity or disting between your data. This will be dimensional reduction while also trying to understand how to measure the distance between your data

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, UofU Data Science.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.