Trees slides (06) (Cây Quyết định trong Máy học) - Sebastian Raschka
- Seiten
- 44
- Định dạng
- Dung lượng
- 2 MB
- Năm
- 1992
- Trường
- University Wisconsin-Madison
- Aufrufe
- 0
- Kommentare
- 0
- Lượt tải
- 0
Vorschau wird generiert...
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.
- 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
- Seiten
- 44 Seiten
- Hochgeladen von
- Uni24h
Beschreibung
Trích nội dung tài liệu
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
Häufig gestellte Fragen
Ist dieses Dokument kostenlos?
Ja. „Trees slides (06) (Cây Quyết định trong Máy học) - Sebastian Raschka“ ist kostenlos — melden Sie sich einfach an und klicken Sie auf Herunterladen, um die Originaldatei zu erhalten.
Wie viele Seiten hat dieses Dokument?
Das Dokument hat 44 Seiten, für den Kurs Machine learning. Sie können es vor dem Herunterladen online in der Vorschau ansehen.
Kann ich vor dem Herunterladen eine Vorschau ansehen?
Ja. Sie können sich dieses Dokument direkt auf dieser Seite im Online-Reader ansehen und dann entscheiden, ob Sie es herunterladen möchten.
Trees slides (06) (Cây Quyết định trong Máy học) - Sebastian Raschka
Vorschau wird generiert...
Trích nội dung tài liệu
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
- 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
- Seiten
- 44 Seiten
- Hochgeladen von
- Uni24h
Kommentare (0)
Noch keine Kommentare. Seien Sie der Erste!
Trees notes (06) (Cây quyết định trong Máy học) - Sebastian Raschka
Feat extract slides (14) (Giảm chiều dữ liệu, tập trung vào trích xuất đặc trưng) - Sebastian Raschka
Eval intro slides (08) (Đánh giá mô hình, overfitting và underfitting, phân rã bias-variance trong Máy học) - Sebastian Raschka
Machine learning tips and tricks (Tổng hợp mẹo về học máy)
Eval algo notes (11) (Các kiểm định thống kê và so sánh thuật toán) - Sebastian Raschka
Tổng hợp Đề Toán 5 - Luyện thi vào Lớp 6 - CLB EMath
Bài giảng vật lý đại cương (Chương 3) - Đỗ Ngọc Uấn
Chương 8.Nguyên tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
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

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