Docsity

Notes on Machine Learning - Spring 2003 | ECS 271, Study notes of Computer Science

Partial preview of the text

Download Notes on Machine Learning - Spring 2003 | ECS 271 and more Study notes Computer Science in PDF only on Docsity!

ECS 271 Machine Learning

Rao VemuriSpring 2003

ECS 271: Outline

  • Introduction• Concept Learning• Decision Tree Learning• Artificial Neural Nets• Computational Learning Theory• Bayesian Learning• Genetic Algorithms + other topics

Outside Reading

  • The text book is really at an upper division

UG level. You are expected to read outsidepapers to boost the theoretical background.

Term Paper

•^

Choose the topic. Any problem with which youare

very familiar

would be a good topic

•^

Choose a ML Technique discussed in the book

-^

Search the WWW for a good data set

-^

Implement the method, get the results

-^

Write a report (see class web site for more details)

-^

This is a 4-credit course. I expect you to devote aminimum of 20 hours on this project alone andanother 20 hours for the rest of the course.

Why ML? Why Now?

•^

Recent progress in algorithms and theory

-^

Growing flood of on-line data

-^

Growing computational power

-^

Easier to build than similar programmed systems– Search engines– Computer games (TD-gammon)– User interfaces/Personal assistants (paper clip asst.)– Robot exploring Mars/ Vacuum Cleaner

-^

Better understanding of human/animal learning

Opportunities for Tomorrow

  • Learn across full mixed-media data• Learn across multiple databases
    • Internal databases– Web and Newsfeeds
      • Learn by active experimentation• Learn to make decisions rather than

predictions

What is the Learning Problem?

•^

Given– a task T– a performance measure P– some experience E

-^

Learn to do the task

-^

Example: Learn to play T = checkers until P =90% of the campus-wide tournaments are won, byusing E = the opportunity to play against player A.

How Do You Learn Checkers?

•^

What exactly is the meaning of “learning to playcheckers”?– Given a board, what is the next move?– Given a board, what is the best move from among

{legal moves}?

•^

The {legal moves}defines a large search space.From this space we choose a move. That is, we arelearning a target function V, given the board.– Target function, V: Board

Æ

Real Number

  • ChooseMove: Board

Æ

Move

V for Checkers

  • If

b

is the final board state

V(b)

= 100, for a winning state

V(b)

= -100, for a losing state

V(b)

= 0, for a draw

  • If

b

is NOT the final board state

V(b) = V(b`),

where

b`

is the best final board

state that can be reached from

b

while playing

optimally (This is non much of a help)

Operational Definition

  • What we want is a function that we can

compute.

  • What exactly is the value V of a board?
    • We do not know. The best we can do is

approximate with something we can compute

  • The most friendly computable functions are

polynomials

0

1

1

n^

n

V

w

w x

w x

1 1

...^

n^ n

V^

w^

w x

w x

=^

+^

0

1 1

...^

n^ n

V^

w^

w x

w x

=^

+^

0

1 1

...^

n^ n

V^

w^

w x

w x

=^

+^

0

1 1

...^

n^ n

V^

w^

w x

w x

=^

+^

A Concept Learning Problem

  • Consider a task• The task is to learn a concept described by

Boolean attributes

  • Both positive and negative examples are

provided by a teacher– The concept to be learned is “dog”

is_mammal

has_claws

¬can_fly

has_tail

can_bark

∧

∧

∧

∧