Docsity

Andrew Ng's Machine Learning Intro: Understanding Algorithms & Applications, Slides of Machine Learning

Partial preview of the text

Download Andrew Ng's Machine Learning Intro: Understanding Algorithms & Applications and more Slides Machine Learning in PDF only on Docsity!

Introduc)on

Welcome Machine Learning

Machine Learning -­‐ Grew out of work in AI -­‐ New capability for computers Examples: -­‐ Database mining Large datasets from growth of automa)on/web. E.g., Web click data, medical records, biology, engineering -­‐ Applica)ons can’t program by hand. E.g., Autonomous helicopter, handwri)ng recogni)on, most of Natural Language Processing (NLP), Computer Vision.

Machine Learning -­‐ Grew out of work in AI -­‐ New capability for computers Examples: -­‐ Database mining Large datasets from growth of automa)on/web. E.g., Web click data, medical records, biology, engineering -­‐ Applica)ons can’t program by hand. E.g., Autonomous helicopter, handwri)ng recogni)on, most of Natural Language Processing (NLP), Computer Vision. -­‐ Self-­‐customizing programs E.g., Amazon, NeOlix product recommenda)ons -­‐ Understanding human learning (brain, real AI).

  • Arthur Samuel (1959). Machine Learning: Field of

study that gives computers the ability to learn

without being explicitly programmed.

  • Tom Mitchell (1998) Well-­‐posed Learning

Problem: A computer program is said to learn

from experience E with respect to some task T

and some performance measure P, if its

performance on T, as measured by P, improves

with experience E.

Machine Learning defini)on

Classifying emails as spam or not spam. Watching you label emails as spam or not spam. The number (or frac)on) of emails correctly classified as spam/not spam. None of the above—this is not a machine learning problem. Suppose your email program watches which emails you do or do not mark as spam, and based on that learns how to be\er filter spam. What is the task T in this se]ng? “A computer program is said to learn from experience E with respect to some task T and some performance measure P, if its performance on T, as measured by P, improves with experience E.”

Introduc)on

Supervised Learning Machine Learning

0 100 200 300 400 0 500 1000 1500 2000 2500

Housing price predic)on.

Price ($) in 1000’s Size in feet 2 Regression: Predict con)nuous valued output (price) Supervised Learning “right answers” given

Tumor Size Age

-­‐ Clump Thickness

-­‐ Uniformity of Cell Size

-­‐ Uniformity of Cell Shape

Treat both as classifica)on problems. Treat problem 1 as a classifica)on problem, problem 2 as a regression problem. Treat problem 1 as a regression problem, problem 2 as a classifica)on problem. Treat both as regression problems. You’re running a company, and you want to develop learning algorithms to address each of two problems. Problem 1: You have a large inventory of iden)cal items. You want to predict how many of these items will sell over the next 3 months. Problem 2: You’d like soYware to examine individual customer accounts, and for each account decide if it has been hacked/compromised. Should you treat these as classifica)on or as regression problems?

x

1

x

2 Supervised Learning

Unsupervised Learning

x

1

x

2