仓库源文站点原文


layout: post title: "AI 笔记 Week 08-09 Machine Learning" date: "2018-09-24 14:23:00" categories: 计算机科学 excerpt: "This week: watch the first section of Lesson 7, Machine Learning (throu..."

auth: conge

This week: watch the first section of Lesson 7, Machine Learning (through Random Forests), and read Chapters 18.1-5, 18.8, 20.1-20.2 in AIMA (Russell & Norvig).

Challenge Question

Find the most efficient decision tree given the fact table

quiz 1: challenge question

k-Nearest Neighbors

Cross Validation

Cross validation

quiz: CV

AIMA: Chapter 18.8 Further study: Sebastian Thrun’s and Peter Norvig’s lecture on kNN

Quiz: 1NN

quiz: kNN

K As Smoothing Parameter

The Gaussian Distribution

Central Limit Theorem

Grasshoppers Vs Katydids

A pattern recognition example of Gaussian distribution

Quiz: Gaussian Distribution

Take the Insect data: Antennae length [xlsx | csv] and calculate the probability of the length "7" indicate a Katydid or Grasshopper Quiz: Gaussian Distribution

Decision Boundaries

Decision Boundaries with Gaussian is easy

Quiz on recoginition

Decision Boundaries in Higher Dimensions

Error

Bayes Classifier

quiz: Bayes rule by counting

Naive Bayes

Naive Bayes net assumes independence between features: so P( height, hair length | sex) = P(height | sex) * P(hair length | sex), thus

answer

Readings for Bayesian Classifiers

Further resources

No Free Lunch

No one ML algorithm is good for all problems.

Naive Bayes vs kNN

using a mixture of Gaussians

two Gaussian

Generalization

Visualization

Visualize data to determine which algorithm might work.


Decision Tree

Decision tree with discrete information

Decision tree with continuous information

Minimum Description Length

Minimum Description Length

Entropy

Information Gain

image.png

quiz

quiz answer

Readings on Decision Trees
AIMA: Chapter 18.1-18.5


Random Forest

Random forest

week 09 is the midterm week. No lectures