Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 15 pages
Summary

Summary Introduction to AI: Search Strategies, Decision-Making, and Uncertainty

Document preview thumbnail
Preview 2 out of 15 pages

English: This document serves as a guide for the “Introduction to AI” course, covering key topics like search strategies (Hill Climbing, Genetic Algorithms), adversarial search (Minimax, Alpha-Beta pruning), uncertainty, inference, and Bayesian Networks. It includes practical exercises to apply AI decision-making concepts. Dutch: This document is a tutorial for the course “Introduction to AI” and covers important topics such as search strategies (Hill Climbing, genetic algorithms), adversarial search (Minimax, Alpha-Beta Pruning), uncertainty, inference, and Bayesian networks. It includes practical exercises to apply AI decision-making concepts.

Content preview

LOCAL SEARCH (GENERAL) 03 UNCERTAINTY 12 (quote

SEARCH STRATEGIES 04-05 INFERENCE 13
Local search: Hill-Climbing, Simulated Annealing 04 Deductive / Inductive 13
Local search: Local Beam Search 05 Observation 13
Genetic Algorithms 05
POLYNOMIAL MODEL 14
DISCUSSION ASSIGNMENT: SEARLE 05 Measuring error of model 14

HILL CLIMBING (STEEPEST DESCENT) & GENETIC ALGORITHMS 06 TRAINING A MODEL 15
PRACTICAL: Hill Climbing (steepest descent) 06 Fitting vs. prediction 15
PRACTICAL: Genetic Algorithms 06

ADVERSARIAL SEARCH 07-08
Ordinary vs. Adversarial Search / Adversarial games 07
Minimax search (+ complexity) / Summary 07
Alpha-Beta pruning / Move ordering / Forward pruning 08
Heuristic strategies / Heuristic Alpha-Beta Tree Search 08
Transpositional tables / Monte Carlo Tree search 08

DEMO: GRID GAME 09-10

TWO-PLAYER ZERO-SUM GAMES 10

MINIMAX & A-B PRUNING PRACTICAL 11




ACTING UNDER UNCERTAINTY 16-22
Symbols and interpretation 16
Logic is insufficient / Perfect knowledge is not possible 16
Probability statements / Decision theory 16
Principle of Maximum Expected Utility (MEU) 16-17
Possible worlds (+ symbols and interpretation) 17
Definition of event / Computing (un)conditional probabilities 18
Random variables 18
Joint probability distribution 19
Complement of a proposition and its negation 19
Product rule / Bayes’s rule / Multivalued variables 19
Normalisation / Marginalisation 20
General form of procedure (+ space and time complexity) 21
(Conditional) independence 21
PRACTICAL: Quantifying uncertainty 22
Scaling up inference / Summary 22

BAYESIAN NETWORKS 23-27
Graphs, Networks / Path, trail, walk / Definition Bayesian Network 23
Constructing a Bayesian Network 24
Chain rule / Constructing a Bayesian Network 25
Size complexity Conditional Probability Tables (CPT) 26
Efficiency of representing CPT 26
Exact inference / Summary 27

DISCUSSION ASSIGNMENT: ETHICS 28-29

, LOCAL SEARCH (GENERAL




3




SEARCH STRATEGIES
STRATEGY COMMENTS PROBLEMS IMPROVEMENTS
Hill-Climbing ● Keeps track of only one current ● Local Maxima ● Allow for a limited number of sideways moves (if on plateau that
state (no backtracking) ● Plateaus (flat local is really a shoulder) (Higher success rate + Higher number of
If elevation = ● Does not look beyond the maximum or moves)
objective → immediate neighbours of the shoulder) ● Stochastic hill climbing: random selection between the uphill
Hill-Climbing current state (greedy) ● Ridges: Sequence of moves, with probability related to steepness.
If elevation = ● On each iteration moves to the local maxima that are ● First-choice hill climbing: random testing of successors until
cost → find neighboring state with highest not directly one is found that is better than the current state. Good strategy
the global value (steepest ascent) connected, Each local when testing all successors is costly
minimum or ● Terminates when a peak is maxima only has ● Random-restart hill climbing: do a number of hill-climbing
lowest valley reached (no neighbor has a worse connecting searches from randomly selected states. If each hill-climbing
→ Steepest higher value) states, Common in search has probability of success p then solution will be found on
Descent low-dimensional state average after 1/p restarts. Will eventually find the correct solution
(Category: Local search) spaces because goal state will be initial state.

Simulated ● Move to randomly chosen ● Problem with hill climbing: efficient, but will get stuck in a local maximum.
Annealing neighbor state ● Problem with random walk: most inefficient, but will eventually find the local maximum.
● If utility is higher, always move to ● Combination of both → simulated annealing (more complete and efficient)
(Category: that state.
Local ● If utility is lower, move to that
search) state with probability p < 1.
● Probability of a move to a worse
state
● Becomes less likely the worse
the move makes the situation
● Becomes less likely as
temperature decreases

4

Document information

Study
Uploaded on
October 9, 2024
Number of pages
15
Written in
2024/2025
Type
Summary
$7.29

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
7
Followers
3
Items
3
Last sold
8 months ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions