Docsity

Bayesian Reasoning and Machine Learning: CSCI 5582, Fall 2007 Assignments and Concepts, Study notes of Computer Science

Partial preview of the text

Download Bayesian Reasoning and Machine Learning: CSCI 5582, Fall 2007 Assignments and Concepts and more Study notes Computer Science in PDF only on Docsity!

Bayesian Reasoning (II); and

an Intro to Machine Learning

CSCI 5582, Fall 2007

Assignments

  • Problem Set 2 due one week from today
  • Please submit hard copy (for CAETE students: Word, PDF)
  • Problem Set 1 will be handed back next week, and Problem Set 3 will be posted next week
  • Reading (by Thursday next week): Chapter 18

MA TO L MA means “Matt Holliday had a good day”: P(MA) = 0. TO means “Todd Helton had a good day”: P(TO) = 0. P(L|MA, TO) = 0. P(L|MA, notTO) = 0. P(L|notMA, TO) = 0. P(L|notMA, notTO) = 0. P (M|L) = 0. P (M|not L) = 0. P (H|L) = 0.8) P (H|not L) = 0. M H You find out that Matt had a good day, and that Mike is in a good mood. What is the probability that Clint is grumpy?

Todd Helton and Jeff Francis

help the Rockies (Independently)

Todd Jeff P(R) P(not R) F F 1 0 T F 0.5 0. F T 0.3 0. T T??

Todd Helton and Jeff Francis

help the Rockies (Independently)

Todd Jeff P(R) P(not R) F F 1 0 T F 0.5 0. F T 0.3 0. T T 0.15 0. The reasoning is that of the 50 percent of games that Todd fails to win “on his own”, Jeff will win 35 on his own. (This is a variant of the “noisy OR” idea.)

L M Th A Monte Carlo (Sampling) method for analyzing Bayesian networks: Simulate the presence of many (thousands? millions?) of cases until you can make a realistic estimate of the probability that you seek. For instance, suppose you want to know the probability that Adam is grumpy given that Mike isn’t grumpy. You try millions of cases, obeying the conditional probabilities along the way, and simply throw out those in which Mike isn’t grumpy while counting the proportion of the remainder in which Adam is grumpy.

Using Bayesian Reasoning for

Diagnosis

We give Johnny a subtraction problem, and He hands us back the following answer: 10

  • 5

15

Making a Bayesian Network for

Subtraction Problems

CwD bug SfromL bug This answer Ans|C notS = 0. Ans|S not C = 0. Ans|C S = 0. Ans| not C not S = 0.

Disambiguating hypotheses

1 4 [Small from large] 1 6 [Carry w/o dec]

Deeper Problems with Bayesian

Networks as a Methodology

  • Representing the world in terms of Bayesian networks often seems forced (e.g., influence tends to work only one way)
  • Where do we get the probability values from?
  • Generally closer to the “engineering AI” approach than the “cognitive AI” approach

What is the “Population” of Samples?

(example from G. Gigerenzer)

  • Statistics tell you that over the past ten years, Volvo makes the safest cars. A friend tells you that last week he bought a Volvo and it broke down immediately. How much “weight” should you give this observation? (Would you avoid buying a Volvo as a consequence?)
  • Statistics tell you that over the past ten years, an alligator has never been seen in the river. A friend tells you that yesterday he saw an alligator in the river. Would you avoid going into the river today?

Different Styles of Feedback for

Learning Programs

- Supervised learning We are given input and output to a function (say, a classification function) and need to learn the function itself - Reinforcement learning We perform actions (possibly in response to input) and are given reward or punishment to reinforce or change those actions. - Unsupervised learning We perform actions (possibly in response to input) and must interpret for ourselves, over time, whether those actions should be strengthened or modified.

A “Mystery Concept” (an

example of supervised learning)

• (A A B A) NO

• (A B B A B B A) YES

• (B B B) YES

• (A B A B A B) NO

• (B B B A B B B) YES