Assignment 1
CPSC 322 Winter 2015, Term 2
Due: Friday, Jan 29, at 12 Noon
Name (last, first):
Student ID:
Partners Name (last, first):
Student ID:
Late Days:
Please include the above information at the top of your first page; failure to do so will lead to
Assignment 1 Solution
CPSC 322 W2 2015-16
Question 1 [40 points] Comparing Search Algorithms & Heuristics
Consider the search state-space in Figure 1, where a is the start node and o is the only goal node.
We will trace several search algorithms in this s
1.
What is AI?
1. Compare and contrast an AI system that thinks and acts humanly with one that thinks and acts rationally?
Humanly actions are sometimes irrational and often affected by emotions or missing knowledge (Turing
Test is an example).
An agent t
Computer Science CPSC 322
Lecture 32
Bayesian Networks
Variable Elimination
1
Lecture Overview
Recap lecture 31
Variable Elimination
Factors
Algorithm
VE example
2
Are there wrong network structures?
Given an order of variables, a network with arcs
Stochastic Local Search
Computer Science cpsc322, Lecture 15
(Textbook Chpt 4.8)
Oct, 9, 2013
CPSC 322, Lecture 15
Slide 1
Announcements
Thanks for the feedback, well discuss it on Mon
Assignment-2 on CSP will be out next week
(programming!)
CPSC 322, Lec
Bottom-up:
Completeness and Soundness
Jim Little
UBC CS 322 CSP
October 22, 2014
Chapter 5.2
Slide 1
Lecture Overview
Recap
Soundness of Bottom-up Proofs
Completeness of Bottom-up
Proofs
Slide 2
(Propositional) Logic: Key ideas
Given a domain that can be
Reasoning Under Uncertainty:
Independence
Ch. 6.2
Slide 1
Announcements
Assignment 4 will be posted on Wednesday
Due Wed April 8
2
Lecture Overview
Recap Lecture 28
Bayes Rule and The Chain Rule
Independence
Marginal Independence
Conditional Indepe
VE for Single-Stage Decision
Problems
Sequential Decision Problems
Lecture 35
Ch 9.2
Lecture Overview
Recap Lecture 34
VE for Single Stage Single-stage decision problems
Policies for Sequential Decision problems
3
Expected utility of a decision
The ex
Computer Science CPSC 322
Lecture 31
Bayesian Networks: Inference,
Factors for Variable Elimination
1
Announcements
Assignment 4 posted on Wednesday
After today you can do Q2
Due Wed, April 8, 11am
Final will cover all the material of the course
Not
Computer Science CPSC 322
Lecture
Heuristic Search
(Ch: 3.6, 3.6.1)
Slide 1
Announcements
Assignment 1 posted in Connect
Due Monday Feb 2, 2pm
Assignment 0 will be marked and returned by
Wed. class
2
Lecture Overview
Recap of Lecture 6
Best First Sea
Computer Science CPSC 322
Lecture 5
Uninformed Search Strategies
(Ch: 3.5)
Announcements
Assignbment 1 (on search), will be availabnle early
next week
Due Monday Feb. 2
Midterm will be after Reading Week, during class
hours. I will finalize the date in
Computer Science CPSC 322
Lecture 3
AI Applications
1
ANNOUNCEMENT
If you have one of the following student numbers
13427125
55518138
35824119
80697148
Please come see me at the end of class
You need to register your Clicker in Connect if you
have never
Computer Science CPSC 322
Lecture 4
Search: Intro
(textbook Ch: 3.0-3.4)
1
Announcements
(1) Reminder on Slide Posting
I post a version of the lecture slides by 2:30pm
after class (by the end of the day usually) Ill post the version
with material filled
Computer Science CPSC 322
Lecture
A* and Search Refinements
(Ch 3.6.1, 3.7.1, 3.7.2)
Slide 1
Course Announcements
Assignment1: Posted on Connect on Monday
Due: Monday Feb. 2, 2PM
Remember, post questions on the assignment or course material
on the Connect
Computer Science CPSC 322
Lecture 13
Arc Consistency
(4.5, 4.6 )
Slide 1
Announcements
Assignment 2 out later today Due Friday Feb. 13
Can already start doing the first 2 questions after todays class
Remember that I have posted in Connect:
Learning goal
Computer Science CPSC 322
Lecture 14
Domain Spitting, Intro to Stochastic
Local Search
Slide 1
Announcements
Assignment 2 out last Monday Due Friday Feb. 13
Can already start doing the first 2 questions
Remember to study
Learning goals for the whole cou
Computer Science CPSC 322
Lecture 10
Search Wrap Up
1
Lecture Overview
Recap of Lecture 9
Dynamic programming for search
Other advanced search algorithms
Intro to CSP (time permitting)
2
Cycle Checking
If we want to get rid of cycles, but we also want
Computer Science CPSC 322
Lecture 10
Stochastic Local Search
(4.8)
Lecture Overview
Recap
Local Search
Stochastic Local Search (SLS)
Comparing SLS
SLS variants
Arc Consistency Algorithm
Go through all the arcs in the network
Make each arc consistent by
Computer Science CPSC 322
Lecture 11
SLS wrap up,
Planning: Strips and Forward
Planning
(Ch 8.1, 8.2)
Lecture Overview
Recap of Lecture 10
SLS wrap up
One more algorithm
Planning Intro
Local Search
Solving CSPs is NP-hard
- Search space for many CSPs
Computer Science CPSC 322
Lecture 8
CSP as Search,
Intro to Arc Consistency
1
Lecture Overview
Recap of previous lecture
CSP: a few more definitions
CSP algorithms using Search
- Generate and test
- Graph search
Intro to Arc Consistency
Course Overvie