Trees slides (06) (Cây Quyết định trong Máy học) - Sebastian Raschka
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.
Vorschau wird generiert...
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
… Tải file gốc để đọc toàn bộ tài liệu.
- Dokumentenname
- Trees slides (06) (Cây Quyết định trong Máy học) - Sebastian Raschka
- Schule / Kurs
- University Wisconsin-Madison · Machine learning
- Inhalt
- 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ị.
- Inhaltsverzeichnis
- 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
- Doc.pages
- 44 Seiten
- Hochgeladen von
- Giang Le
Häufig gestellte Fragen
Tài liệu này có miễn phí không?
Có. “Trees slides (06) (Cây Quyết định trong Máy học) - Sebastian Raschka” miễn phí — bạn chỉ cần đăng nhập rồi bấm Tải xuống để lấy file gốc.
Tài liệu dài bao nhiêu trang?
Tài liệu gồm 44 trang, thuộc môn Machine learning. Bạn có thể xem trước online trước khi tải.
Tôi có thể xem trước trước khi tải không?
Có. Bạn xem trước tài liệu ngay trên trang này bằng trình đọc online, rồi quyết định tải về.

Kommentare (0)
Noch keine Kommentare. Seien Sie der Erste!