general questions to know Flashcards

1
Q

what is depth-first search

A

it will follow the path from the starting node to the end and then again from the start to the end until all the nodes are visited uses a stack structure

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

what is breadth-first search

A

proceeds level by level visiting all the nodes from one level and uses a queue structure

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

what is admissible heuristics

A

admissible: never overestimate the goal

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

explain the hill climbing algorithm

A

given a current state , then look at all the successor nodes then pick the one with the best cost

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

what is the downside of hill climbing

A

only improves on the given solution and gets stuck on the local minima

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

explain the simulated annealing

A

the idea is that it looks like hill climbing :
so where : T=0 => acts like hill climbing
when T= infinity , behaves randomly

Hence when t drops there are less random movement
hence when thetemperature decreases slowly enough the simulated anealing sercah finds the global optimum propbility

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

what is a 0 sum game

A

for a given two players in a gum if one of them wins then the other loses

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

what is the difference between adversarial and non-adversarial game

A

search is adversary where the solution is a heuristic

while games are adversaries and a solution is a strategy

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

explain the MinMax game setup

A

there are two players Max and Min, one wins and the other receives penalty
if it is taken as a search algorithm then we have:

initial state: board configuration
successor function: list specifying the legal moves
terminal state: has the game ended
Utility function: Gives numerical value of terminal states
in this type of game, we want to maximize our moves and minimise our opponent’s move

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

what is the issue with e minmax algorithm an how to improve

A

the minmax goes all over the tree , one solution is to user the (alpha,beta pruning)

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

How to check whether a system os markov

A

if the actionas of the whole system depends solely on the the current action , if a system has the markov property then it is considered as a MArkov decision process

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

how to selec action in RL

A

epsilon greedy or through using the Boltzmann equation

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

how alpha and beta affect the ant colony algorithm and rho

A

alpha plays an important role in the generation of the pheromone while beta plays an important role on selecting high quality solution
rho plays role in the decrease of the pheromone where where small value lead to exploitive behaviour while large values lead to expletive behaviours

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

How to eavluate the serach strategy

A

completness, optimatlity , complexity

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

what is the difference between informed and uninformed strategy

A

usually uninformed one uses only the information on problem formulation while an informed one relies on heuristics

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

what are some optimal serach algo

A

Best first serach and Depth first seach only if the cost is 1 per step

17
Q

what is best firs tsearch

A

it is a serach algorithm that combines the functionalities of BFS and DFS