Trees slides (06) (Cây Quyết định trong Máy học) - Sebastian Raschka
Generating preview...
Slide bài giảng về Cây Quyết định trong môn Machine Learning, giới thiệu khái niệm, thuật toán ID3, và độ phức tạp.
Description
Lecture 06 Decision Trees STAT 479: Machine Learning, Fall 2018 Sebastian Raschka http://stat.wisc.edu/~sraschka/teaching/stat479-fs2018/ 1 Decision Tree Terminology Internal node Work to do? Yes Root node No Stay in Outlook? Sunny Branch Rainy Overcast Go to beach Go running Friends busy? Yes Leaf node Stay in 2 No Go to movies Decision Trees as Rulesets IF _________________________ ___ ___ ______________________ THEN ________ ___ ___________ 3 ______________________ Decision Trees and ML Categories Supervised vs. unsupervised learning algorithm classification vs. regression Optimization method: ______ Eager vs. lazy learning algorithm Batch vs. online learning algorithm Parametric vs. nonparametric model Deterministic vs. stochastic 4 Recursion / Recursive Algorithms Divide-and-Conquer and Recu Simple recursive algorithms to compute the length of 1 def array_len(x): some_func 2 if x == []: 3 return 0 4 5 else: return 1 + array_len(x[1:]) some_func Divide-and-conquer is a concept in computer science divide a problem into subproblems of the same type. What does thisdivide-and-conquer function do? Usually, can be implemented usin 5 Divide & Conquer Algorithms 1 def quicksort(array): 2 if len(array) < 2: 3 return array 4 else: 5 pivot = array[0] 6 smaller, bigger = [], [] 7 for ele in array[1:]: 8 if ele <= pivot: 9 10 11 12 smaller.append(ele) else: bigger.append(ele) return quicksort(smaller) + [pivot] + quicksort(bigger) 6 Divide & Conquer Algorithms 1 def quicksort(array): 2 if len(array) < 2: 3 return array 4 else: 5 pivot = array[0] 6 smaller, bigger = [], [] 7 for ele in array[1:]: 8 if ele <= pivot: 9 10 11 12 smaller.append(ele) else: bigger.append(ele) return quicksort(smaller) + [pivot] + quicksort(bigger) 7 Time complexity of quicksort: _____________ ("on average") 1 def quicksort(array): 2 if len(array) < 2: 3 return array 4 else: 5 pivot = array[0] 6 small
AI summary
- Document name
- Trees slides (06) (Cây Quyết định trong Máy học) - Sebastian Raschka
- School / Course
- University Wisconsin-Madison · Machine learning
- Content
- Tài liệu này giải thích Cây quyết định, bao gồm thuật ngữ, cách biểu diễn, phân loại trong học máy, và các thuật toán xây dựng cây như ID3, tập trung vào tiêu chí thông tin tăng trưởng và các phương pháp đệ quy/chia để trị.
- Table of contents
- Decision Trees
- Decision Tree Terminology
- Decision Trees as Rulesets
- Decision Trees and ML Categories
- Recursion
- Divide & Conquer Algorithms
- Time complexity of quicksort:
- Time Complexity ("Big-O")
- More formal:
- Generic Tree Growing Algorithm
- Design choices
- ID3 -- Iterative Dichotomizer 3
- Pages
- 44 pages
- Uploaded by
- Uni24h
Frequently asked questions
Is this document free?
Yes. “Trees slides (06) (Cây Quyết định trong Máy học) - Sebastian Raschka” is free — just sign in and click Download to get the original file.
How many pages is this document?
The document has 44 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.
Trees slides (06) (Cây Quyết định trong Máy học) - Sebastian Raschka
Generating preview...
Lecture 06 Decision Trees STAT 479: Machine Learning, Fall 2018 Sebastian Raschka http://stat.wisc.edu/~sraschka/teaching/stat479-fs2018/ 1 Decision Tree Terminology Internal node Work to do? Yes Root node No Stay in Outlook? Sunny Branch Rainy Overcast Go to beach Go running Friends busy? Yes Leaf node Stay in 2 No Go to movies Decision Trees as Rulesets IF _________________________ ___ ___ ______________________ THEN ________ ___ ___________ 3 ______________________ Decision Trees and ML Categories Supervised vs. unsupervised learning algorithm classification vs. regression Optimization method: ______ Eager vs. lazy learning algorithm Batch vs. online learning algorithm Parametric vs. nonparametric model Deterministic vs. stochastic 4 Recursion / Recursive Algorithms Divide-and-Conquer and Recu Simple recursive algorithms to compute the length of 1 def array_len(x): some_func 2 if x == []: 3 return 0 4 5 else: return 1 + array_len(x[1:]) some_func Divide-and-conquer is a concept in computer science divide a problem into subproblems of the same type. What does thisdivide-and-conquer function do? Usually, can be implemented usin 5 Divide & Conquer Algorithms 1 def quicksort(array): 2 if len(array) < 2: 3 return array 4 else: 5 pivot = array[0] 6 smaller, bigger = [], [] 7 for ele in array[1:]: 8 if ele <= pivot: 9 10 11 12 smaller.append(ele) else: bigger.append(ele) return quicksort(smaller) + [pivot] + quicksort(bigger) 6 Divide & Conquer Algorithms 1 def quicksort(array): 2 if len(array) < 2: 3 return array 4 else: 5 pivot = array[0] 6 smaller, bigger = [], [] 7 for ele in array[1:]: 8 if ele <= pivot: 9 10 11 12 smaller.append(ele) else: bigger.append(ele) return quicksort(smaller) + [pivot] + quicksort(bigger) 7 Time complexity of quicksort: _____________ ("on average") 1 def quicksort(array): 2 if len(array) < 2: 3 return array 4 else: 5 pivot = array[0] 6 small
Read full document
- Document name
- Trees slides (06) (Cây Quyết định trong Máy học) - Sebastian Raschka
- School / Course
- University Wisconsin-Madison · Machine learning
- Content
- Tài liệu này giải thích Cây quyết định, bao gồm thuật ngữ, cách biểu diễn, phân loại trong học máy, và các thuật toán xây dựng cây như ID3, tập trung vào tiêu chí thông tin tăng trưởng và các phương pháp đệ quy/chia để trị.
- Table of contents
- Decision Trees
- Decision Tree Terminology
- Decision Trees as Rulesets
- Decision Trees and ML Categories
- Recursion
- Divide & Conquer Algorithms
- Time complexity of quicksort:
- Time Complexity ("Big-O")
- More formal:
- Generic Tree Growing Algorithm
- Design choices
- ID3 -- Iterative Dichotomizer 3
- Pages
- 44 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!