Docsity

Oracles, Sampling, Generative vs. Discriminative, Schemes and Mind Maps of Probability and Statistics

Partial preview of the text

Download Oracles, Sampling, Generative vs. Discriminative and more Schemes and Mind Maps Probability and Statistics in PDF only on Docsity!

Oracles, Sampling,

Generative vs.

Discriminative

10 - 601 Introduction to Machine Learning

Matt Gormley Lecture 19 March 20, 2018 Machine Learning Department School of Computer Science Carnegie Mellon University

Reminders

  • Midterm Exam
    • Thursday Evening 6:30 – 9:00 (2.5 hours)
    • Room and seat assignments will be announced on Piazza
    • You may bring one 8.5 x 11 cheatsheet

Robotic Farming Deterministic Probabilistic Classification (binary output) Is this a picture of a wheat kernel? Is this plant drought resistant? Regression (continuous output) How many wheat kernels are in this picture? What will the yield of this plant be?

Oracles and Sampling Whiteboard

  • Sampling from common probability distributions
    • Bernoulli
    • Categorical
    • Uniform
    • Gaussian
  • Pretending to be an Oracle (Regression)
    • Case 1: Deterministic outputs
    • Case 2: Probabilistic outputs
  • Probabilistic Interpretation of Linear Regression
    • Adding Gaussian noise to linear function
    • Sampling from the noise model
  • Pretending to be an Oracle (Classification)
    • Case 1: Deterministic labels
    • Case 2: Probabilistic outputs (Logistic Regression)
    • Case 3: Probabilistic outputs (Gaussian Naïve Bayes)

Generative vs. Discrminative Whiteboard

  • Generative vs. Discriminative Models
    • Chain rule of probability
    • Maximum (Conditional) Likelihood Estimation for

Discriminative models

  • Maximum Likelihood Estimation for Generative

models

Categorical Distribution Whiteboard

  • Categorical distribution details
    • Independent and Identically Distributed (i.i.d.)
    • Example: Dice Rolls

Learning Objectives Oracles, Sampling, Generative vs. Discriminative You should be able to…

  1. Sample from common probability distributions
  2. Write a generative story for a generative or discriminative classification or regression model
  3. Pretend to be a data generating oracle
  4. Provide a probabilistic interpretation of linear regression
  5. Use the chain rule of probability to contrast generative vs. discriminative modeling
  6. Define maximum likelihood estimation (MLE) and maximum conditional likelihood estimation (MCLE)