Beyond Classical Search Flashcards

1
Q

What is the basic idea of local search?

A

Store current nodes, generate successors, choose a successor to be next node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Local search can get stuck on ______ and local ______

A

plateaus, maxima

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

__________ is a simple local search algorithm that can find local maximas

A

Hill-climbing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the Hill-climbing pseudo code?

A
function Hill-Climbing(problem) returns a state that is a local maxima
        current {-- initial-state
        loop:
                neighbor {-- highest-valued successor of current
                if neighbor.value {= current.value then return current
                current {-- neighbor
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Hill-climbing is a kind of ______ search

A

greedy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In ________ hill-climbing, moves are chosen at random, with preference given to steeper jumps

A

stochastic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is first-choice hill-climbing?

A

hill climbing where the chosen node is the first node that is higher than the current value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In random-restart hill-climbing, a _______ of hill climbs are executed from random starting points

A

series

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is gradient descent?

A

The goal is the find the lowest point of the function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In simulated annealing with gradient descent?

A
  • Choose a successor at random
  • If successor has a lower value, take it
  • If successor has a higher value, it may be accepted based on probably T
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

in simulated annealing, the temperature T start hot and ________ as the algorithm continues

A

decreases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Local beam search tracks k states, then generates the ________, and if anyone of them is a goal, _____. Otherwise it picks the k ____ ________ for the next step

A

successors, stops, best successors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In a ________ local beam search, the k successors are chosen at random

A

stochastic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A genetic algorithm is a variant of the _____ ______ search where the nest state is generated by __________ states

A

local beam, combining

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In genetic algorithms, pairs of states are chosen in a randomly weighted way and are then ______ to make a new state

A

combined

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Give an example of crossover using 20 bit strings

A

Take first 10 bits of one and last 10 bits of another string

17
Q

What is a mutation?

A

Randomly modifying a part of the state

18
Q

What are 3 questions when creating a genetic algorithm?

A
  • What size of k
  • How should states be combined?
  • How frequently should mutation occur