Docsity

Machine Learning Midterm Review: Key Concepts and Topics, Lecture notes of Algorithms and Programming

Toggle sidebar
bg1
1
Midterm Review
Machine Learning 10-701
Tom M. Mitchell
Machine Learning Department
Carnegie Mellon University
March 1, 2011
See practice exams on our website
Attend recitation tomorrow
Midterm is open book, open notes, NO computers
Covers all material presented up through today’s class.
Some Topics We’ve Covered
Decision trees
entropy, mutual info., overfitting
Probability basics
rv’s, manipulating probabilities,
Bayes rule, MLE, MAP,
conditional indep.
Naïve Bayes
conditional independence,
# of parameters to estimate,
decision surface
Logistic regression
form of P(Y|X)
generative vs. discriminative
Linear Regression
minimizing sum sq. error (why?)
regularization ~ MAP
Sources of Error
unavoidable error, bias, variance
Overfitting, and Avoiding it
Bayesian Networks
factored representation of joint
distribution, conditional independence
assumptions, D-separation
inference in Bayes nets
learning from fully/partly observed data
Clustering
mixture of Gaussians, EM
pf3
pf4
pf5

Partial preview of the text

Download Machine Learning Midterm Review: Key Concepts and Topics and more Lecture notes Algorithms and Programming in PDF only on Docsity!

Midterm Review

Machine Learning 10-

Tom M. Mitchell

Machine Learning Department

Carnegie Mellon University

March 1, 2011

See practice exams on our website

Attend recitation tomorrow

Midterm is open book, open notes, NO computers

Covers all material presented up through today’s class.

Some Topics We’ve Covered

Decision trees

entropy, mutual info., overfitting

Probability basics

rv’s, manipulating probabilities, Bayes rule, MLE, MAP, conditional indep.

Naïve Bayes

conditional independence,

of parameters to estimate,

decision surface

Logistic regression

form of P(Y|X) generative vs. discriminative

Linear Regression

minimizing sum sq. error (why?) regularization ~ MAP

Sources of Error

unavoidable error, bias, variance

Overfitting, and Avoiding it

Bayesian Networks

factored representation of joint distribution, conditional independence assumptions, D-separation inference in Bayes nets learning from fully/partly observed data

Clustering

mixture of Gaussians, EM

Understanding/Comparing Learning Methods Form of learned model

  • Inputs:
  • Outputs: Optimization Objective: Algorithm: Assumptions: Guarantees?: Decision boundary: Generative/Discriminative? Naïve Bayes Form of learned model
  • Inputs:
  • Outputs: Optimization Objective: Algorithm: Assumptions: Guarantees?: Decision boundary: Generative/Discriminative? Logistic Regression

Four Fundamentals for ML

1. Learning is an optimization problem

  • many algorithms are best understood as optimization algs
  • what objective do they optimize, and how?

2. Learning is a parameter estimation problem

  • the more training data, the more accurate the estimates
  • MLE, MAP, M(Conditional)LE, …
  • to measure accuracy of learned model, we must use test (not train) data

3. Error arises from three sources

  • unavoidable error, bias, variance

given some estimator Y for some parameter θ, we note Y

is a random variable (why?)

the bias of estimator Y :

the variance of estimator Y :

consider when

• θ is the probability of “heads” for my coin

• Y = proportion of heads observed from 3 flips

consider when

• θ is the vector of correct parameters for learner

• Y = parameters output by learning algorithm

Bias and Variance

Four Fundamentals for ML

  1. Learning is an optimization problem
    • many algorithms are best understood as optimization algs
    • what objective do they optimize, and how?
  2. Learning is a parameter estimation problem
    • the more training data, the more accurate the estimates
    • MLE, MAP, M(Conditional)LE, …
    • to measure accuracy of learned model, we must use test (not train) data
  3. Error arises from three sources
    • unavoidable error, bias, variance
  4. Practical learning requires making assumptions
    • Why?
    • form of the f:X  Y, or P(Y|X) to be learned
    • priors on parameters: MAP, regularization
    • Conditional independence: Naive Bayes, Bayes nets, HMM’s