Docsity

Lecture Notes for Machine Learning | Computational Data Analysis | CSE 6740, Study notes of Computer Science

Partial preview of the text

Download Lecture Notes for Machine Learning | Computational Data Analysis | CSE 6740 and more Study notes Computer Science in PDF only on Docsity!

CSE 6740 Lecture 1 What is Machine Learning?

(Overview)^ Alexander Gray [email protected]

Georgia Institute of Technology

CSE 6740 Lecture 1 – p.1/

Welcome to This Course

CSE 6740 A (88977) / ISYE 6740 A (89574) Distance learning CSE 6740 Q (89194) Computational Data Analysis: Foundations of MachineLearning and Data Mining TuTh 10:05-10:55am, 2447 Klaus Office hours: Grab me right after a lecture www.cc.gatech.edu/˜agray/fall08.html Mailing list:

www2.isye.gatech.edu/mailman/

listinfo/isye6740a TA: Nishant Mehta

[email protected]

CSE 6740 Lecture 1 – p.2/

Goals of This Course

Give you the foundations needed for:

Competent analysis of data (application of ML) Design of new methods (ML research) Give you the big picture, including context for othercourses Put forth a new version of that picture

CSE 6740 Lecture 1 – p.4/

Taking this Course

Yes, you can get into the class – if you can’t registeronline, email me for a permit Yes, you should take this class, if you have thebackground Background: You will need basic calculus, basic linearalgebra, basic probability

CSE 6740 Lecture 1 – p.5/

A Dataset

Features/attributes/dimensions

: columns

Data/points/instances/examples/samples

: rows

Target/outcome/response/label/dependent variable

special feature to be predicted Independent variables/covariates/predictors/regressors

the other features

CSE 6740 Lecture 1 – p.7/

Types of Data

iid (independent identically distributed) vectors Time series (dependent vectors) Images (matrices) Variable-size non-vector data (e.g. strings, trees,graphs, text) Objects (e.g. within a relational schema)

CSE 6740 Lecture 1 – p.8/

3 Main Learning Tasks

Density estimation: predict the density Regression: predict a continuous target variable Classification: predict a discrete target variable Others: clustering, dimensionality reduction.

Supervised learning

: We’re predicting a target variable

for which we get to see examples. (regression,classification) Unsupervised learning

: We’re predicting a target

variable for which we never get to see examples.(density estimation, clustering, dimensionalityreduction)

CSE 6740 Lecture 1 – p.10/

Density Estimation

CSE 6740 Lecture 1 – p.11/

Density Estimation

Example: observed matter in the skyShould I fit a Gaussian? What would the right parametersbe? Why?Would a histogram be better? What would the right binwidth be? Is it better than a Gaussian in general? Orworse?

CSE 6740 Lecture 1 – p.13/

Regression

We’re predicting a continuous target variable. Supervised.

CSE 6740 Lecture 1 – p.14/

Classification

We’re predicting a discrete target variable. Supervised.

CSE 6740 Lecture 1 – p.16/

Classification

Example: automatic zipcode digit recognitionShould I model each digit’s images with a Gaussian (naiveBayes)? How about taking the class label of the nearest

k

training points (

k-nearest-neighbor classifier)? Where does

this method come from? How about if we focus on findingthe widest decision boundary (support vector machine)?Where does this method come from? For this dataset, howcan I definitely know one method is better than another?How do these methods scale with dimensionality,statistically and computationally? Number of data? How dowe estimate our future error accurately?

CSE 6740 Lecture 1 – p.17/

Model Classes

First we must pick a

model class

, or function class

F

Parametric example (class of all Gaussians):^ F

=

{^ f

(x

;^ μ, σ

) =

1 √ σ 2 π

exp

{^

(^122) σ

(x

−

μ)

} 2

, μ

∈

R

, σ >

} 0

(1)

CSE 6740 Lecture 1 – p.19/

Model Classes

Class of all parametric models in general:

F^

=^

{f

(x

;^ θ

) :

θ^

∈^

Θ}

(2)^ Nonparametric

example (class of all functions with a certain

smoothness):

F^

=

{^ f

:

∫

(f^

′′(x

(^2) )) dx <

∞

}

(3)

CSE 6740 Lecture 1 – p.20/