Knn slides (02) (Phương pháp Nearest Neighbor trong học máy) - Sebastian Raschka
Generating preview...
Bài giảng giới thiệu về phương pháp Nearest Neighbor trong học máy, bao gồm 1-NN, k-NN, các độ đo khoảng cách và quyết định biên.
Description
Lecture 02 Nearest Neighbor Methods STAT 479: Machine Learning, Fall 2018 Sebastian Raschka http://stat.wisc.edu/~sraschka/teaching/stat479-fs2018/ 1 1-Nearest Neighbor ? Sebastian Raschka STAT 479: Machine Learning ? FS 2018 !2 1-Nearest Neighbor ? Sebastian Raschka ? STAT 479: Machine Learning FS 2018 !3 Training Step [i] [i] ⟨x , y ⟩ ∈ 𝒟 Sebastian Raschka ( | 𝒟 | = n) STAT 479: Machine Learning FS 2018 !4 1-Nearest Neighbor Prediction Step closest_point := None closest_distance := for : current_distance := if current_distance < closest_distance: return closest_distance := current_distance closest_point := closest_point closest_point is the label of Sebastian Raschka STAT 479: Machine Learning FS 2018 !5 Commonly used: Euclidean Distance (L2) d(x[a], x[b]) = m ∑ j=1 Sebastian Raschka [a] [b] x − x (j j ) STAT 479: Machine Learning 2 FS 2018 !6 Nearest Neighbor Decision Boundary Sebastian Raschka STAT 479: Machine Learning FS 2018 !7 Decision Boundary Between (a) and (b) b a Sebastian Raschka a STAT 479: Machine Learning FS 2018 !8 Decision Boundary Between (a) and (c) a Sebastian Raschka c STAT 479: Machine Learning FS 2018 !9 a a Decision Boundary Between (a) and (c) d c Sebastian Raschka STAT 479: Machine Learning FS 2018 !10 Decision Boundary 1NN b a a c d c Sebastian Raschka STAT 479: Machine Learning FS 2018 !11 Decision Boundary 1-NN Sebastian Raschka STAT 479: Machine Learning FS 2018 !12 Which Point is Closest? Euclid distan a c ? b Sebastian Raschka STAT 479: Machine Learning FS 2018 !13 ? a a b ? b Depends on the Distance Measure! Euclidean distance=1 Manhattan distance=1 a c ? ? b Sebastian Raschka STAT 479: Machine Learning FS 2018 !14 Continuous Distance Measures Euclidean Manhattan m Minkowski: d(x , x ) = [∑ ( x − x [a] [b] [a] [b] j=1 )] p 1 p Mahalanobis ... Sebastian Raschka STAT 479: Machine Learning FS 2018
AI summary
- Document name
- Knn slides (02) (Phương pháp Nearest Neighbor trong học máy) - Sebastian Raschka
- School / Course
- University Wisconsin-Madison · Machine learning
- Content
- Tài liệu trình bày chi tiết về thuật toán 1-NN và k-NN, bao gồm các bước thực hiện, các loại độ đo khoảng cách, và ứng dụng trong phân loại, hồi quy. Tài liệu cũng nhấn mạnh tầm quan trọng của chuẩn hóa đặc trưng.
- Table of contents
- This document has no clear table of contents.
- Pages
- 46 pages
- Uploaded by
- Uni24h
Frequently asked questions
Is this document free?
Yes. “Knn slides (02) (Phương pháp Nearest Neighbor trong học máy) - Sebastian Raschka” is free — just sign in and click Download to get the original file.
How many pages is this document?
The document has 46 pages, for the course Machine learning. You can preview it online before downloading.
Can I preview before downloading?
Yes. You can preview this document right on this page with the online reader, then decide whether to download.
Knn slides (02) (Phương pháp Nearest Neighbor trong học máy) - Sebastian Raschka
Generating preview...
Lecture 02 Nearest Neighbor Methods STAT 479: Machine Learning, Fall 2018 Sebastian Raschka http://stat.wisc.edu/~sraschka/teaching/stat479-fs2018/ 1 1-Nearest Neighbor ? Sebastian Raschka STAT 479: Machine Learning ? FS 2018 !2 1-Nearest Neighbor ? Sebastian Raschka ? STAT 479: Machine Learning FS 2018 !3 Training Step [i] [i] ⟨x , y ⟩ ∈ 𝒟 Sebastian Raschka ( | 𝒟 | = n) STAT 479: Machine Learning FS 2018 !4 1-Nearest Neighbor Prediction Step closest_point := None closest_distance := for : current_distance := if current_distance < closest_distance: return closest_distance := current_distance closest_point := closest_point closest_point is the label of Sebastian Raschka STAT 479: Machine Learning FS 2018 !5 Commonly used: Euclidean Distance (L2) d(x[a], x[b]) = m ∑ j=1 Sebastian Raschka [a] [b] x − x (j j ) STAT 479: Machine Learning 2 FS 2018 !6 Nearest Neighbor Decision Boundary Sebastian Raschka STAT 479: Machine Learning FS 2018 !7 Decision Boundary Between (a) and (b) b a Sebastian Raschka a STAT 479: Machine Learning FS 2018 !8 Decision Boundary Between (a) and (c) a Sebastian Raschka c STAT 479: Machine Learning FS 2018 !9 a a Decision Boundary Between (a) and (c) d c Sebastian Raschka STAT 479: Machine Learning FS 2018 !10 Decision Boundary 1NN b a a c d c Sebastian Raschka STAT 479: Machine Learning FS 2018 !11 Decision Boundary 1-NN Sebastian Raschka STAT 479: Machine Learning FS 2018 !12 Which Point is Closest? Euclid distan a c ? b Sebastian Raschka STAT 479: Machine Learning FS 2018 !13 ? a a b ? b Depends on the Distance Measure! Euclidean distance=1 Manhattan distance=1 a c ? ? b Sebastian Raschka STAT 479: Machine Learning FS 2018 !14 Continuous Distance Measures Euclidean Manhattan m Minkowski: d(x , x ) = [∑ ( x − x [a] [b] [a] [b] j=1 )] p 1 p Mahalanobis ... Sebastian Raschka STAT 479: Machine Learning FS 2018
Read full document
- Document name
- Knn slides (02) (Phương pháp Nearest Neighbor trong học máy) - Sebastian Raschka
- School / Course
- University Wisconsin-Madison · Machine learning
- Content
- Tài liệu trình bày chi tiết về thuật toán 1-NN và k-NN, bao gồm các bước thực hiện, các loại độ đo khoảng cách, và ứng dụng trong phân loại, hồi quy. Tài liệu cũng nhấn mạnh tầm quan trọng của chuẩn hóa đặc trưng.
- Table of contents
- This document has no clear table of contents.
- Pages
- 46 pages
- Uploaded by
- Uni24h
Comments (0)
No comments yet. Be the first!
Eval algo notes (11) (Các kiểm định thống kê và so sánh thuật toán) - Sebastian Raschka
Refresher probabilities statistics (Xác suất và thống kê cho Machine Learning) - Afshine Amidi and Shervine Amidi
Ensembles notes (07) (Các phương pháp học ensemble) - Sebastian Raschka
Super cheatsheet machine learning (Khái niệm và công thức chính trong học máy) - Afshine Amidi and Shervine Amidi
Cheatsheet Deep Learning (Khái niệm chính về học sâu) - Afshine Amidi and Shervine Amidi
Chương 7.Cơ học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 6.Quang học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 5.Thuyết tương đối - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 4. Tán xạ ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 3.Phân cực ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Comments (0)
No comments yet. Be the first!