Docsity

ARTIBA ARTIFICIAL INTELLIGENCE ENGINEER CERTIFICATION FINAL PAPER, Exams of Information and Communications Technology (ICT)

Toggle sidebar
bg1
◉ Rational Agent. Answer: An entity that acts to achieve the best
outcome or, when there is uncertainty, the best expected outcome.
◉ Search Tree. Answer: A representation of all the possible moves
branching out from the initial state of the problem
◉ Frontier. Answer: The set of states unevaluated but discovered
from evaluated states.
◉ Completeness. Answer: Refers to whether the algorithm is
guaranteed to find a solution when there is one.
◉ Optimality. Answer: Refers to whether the optimal solution is
found.
◉ Time Complexity. Answer: the amount of time taken by an
algorithm to run as a function of the length of the input.
◉ Measuring Time. Answer: Often measured in terms of the number
of nodes generated during the search.
ARTIBA ARTIFICIAL INTELLIGENCE ENGINEER
CERTIFICATION FINAL PAPER
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c

Partial preview of the text

Download ARTIBA ARTIFICIAL INTELLIGENCE ENGINEER CERTIFICATION FINAL PAPER and more Exams Information and Communications Technology (ICT) in PDF only on Docsity!

◉ Rational Agent. Answer: An entity that acts to achieve the best outcome or, when there is uncertainty, the best expected outcome. ◉ Search Tree. Answer: A representation of all the possible moves branching out from the initial state of the problem ◉ Frontier. Answer: The set of states unevaluated but discovered from evaluated states. ◉ Completeness. Answer: Refers to whether the algorithm is guaranteed to find a solution when there is one. ◉ Optimality. Answer: Refers to whether the optimal solution is found. ◉ Time Complexity. Answer: the amount of time taken by an algorithm to run as a function of the length of the input. ◉ Measuring Time. Answer: Often measured in terms of the number of nodes generated during the search.

ARTIBA ARTIFICIAL INTELLIGENCE ENGINEER

CERTIFICATION FINAL PAPER

◉ Measuring Space. Answer: Often measured in terms of the maximum number of nodes generated during the search. ◉ Space Complexity. Answer: How much memory an algorithm needs. ◉ Branching Factor (b). Answer: Maximum number of successors of any node. ◉ Depth of the Shallowest Goal Node (d). Answer: Refers to the height of the shallowest goal node. ◉ Breadth First Search (BFS). Answer: Expand the shallowest node on the frontier. ◉ Breadth First Search: Completeness. Answer: A search solution is complete if b (Branching Factor) and d (Depth of the Shallowest Goal Node) are finite. ◉ Breadth First Search: Optimality. Answer: A search solution is optimal if path cost is a non-descending function of node depth. ◉ Breadth First Search: Time Complexity. Answer: O(b^d)

◉ Uniform-Cost Search. Answer: Expand node with lowest path cost. ◉ Uniform-Cost Search: Completeness & Optimality. Answer: Complete unless there is a path with an infinite sequence of zero- cost actions. This is also optimal. ◉ Uniform Cost Search: Time Complexity. Answer: O( b^(1+[C* / ε]) ) C: Cost of optimal solution ε: Minimum action cost ◉ Uniform Cost Search: Space Complexity. Answer: O( b^(1+[C / ε]) ) C*: Cost of optimal solution ε: Minimum action cost ◉ Depth First Search: Memory. Answer: This search algorithm has low memory requirements. ◉ Iterative Deepening Search. Answer: Run DFS to a fixed depth z. Starting at 1, if there's no solution, increment z and rerun.

◉ Iterative Deepening Search Vs Breadth First Search. Answer: IDS duplicates work but is the preferred method when the state space is large and the depth is unknown. ◉ Bidirectional Search. Answer: Two simultaneous searches, one from the initial state and the other from the goal state ◉ Bidirectional Search: Motivation. Answer: b^(d/2) + b^(d/2) < b^d ◉ Transition Model. Answer: Describes the effect of taking action a in state s, T(s,a). ◉ Informed Search: Heuristic Function. Answer: A heuristic function h(n) is the estimated cost of the cheapest path from the state at node n to a goal state. ◉ Informed Search: Best-First Strategies [2]. Answer: - Greedy Best- First

  • A* ◉ Best-First Strategy: A*. Answer: Expand the node that has the lowest g(n) + h(n).

◉ Greedy Best-First: Completeness. Answer: Complete only when performing graph search in a finite state set. Otherwise, no (it can get into loops). ◉ Greedy Best-First: Optimality. Answer: It's not guaranteed to give you the optimal solution. ◉ Greedy Best-First: Time Complexity. Answer: O(b^m) b - Branching Factor m - Max Depth A good heuristic can reduce this substantially. ◉ Greedy Best-First: Space Complexity. Answer: O(b^m) b - Branching Factor m - Max Depth A good heuristic can reduce this substantially.

◉ A: Time Complexity (Not In O). Answer: For most problems, the number of states A visits is still exponential in the length of the solution. ◉ A*: Space Complexity (Not In O). Answer: It usually runs out of space long before it runs out of time. ◉ Heuristic. Answer: A method to be employed to find a solution. ◉ Relaxed Problem. Answer: A problem with fewer restrictions on the actions. ◉ Choosing a Heuristic. Answer: We don't. Define a heuristic function which returns the maximum (best-performing) heuristic. ◉ Local Search. Answer: Search used when the path is irrelevant and the goal state is the solution. ◉ +/- Local Search [2+1]. Answer: + Use little Memory

  • Often find reasonable solutions in large state spaces.
  • LS algorithms are not systematic. ◉ Local Search Algorithms [4]. Answer: - Hill Climbing

◉ Stochastic Beam Search. Answer: A variant of local beam search where the k successor are chosen randomly, with a bias towards the good ones. ◉ Adversarial Search Problems. Answer: Multiple agents with conflicting goals give rise to adversarial search problems—also known as games ◉ Utility(s,p). Answer: Final numeric value of a game that ends in state s for player p. ◉ Zero-Sum Game. Answer: Total payoff to all players is the same for every instance of the game. ◉ Minimax. Answer: Choosing an action with the highest minimax value - to receive best possible payoff against best play. ◉ Minimax Algorithm. Answer: For all states: if s is a terminal state - > return utility(s) if it's player 2's turn - > return minimum possible result if it's player 1's turn - > return maximum possible result (Work from bottom up).

◉ Minimax Algorithm: Completeness. Answer: Yes, if the game tree is finite ◉ Minimax Algorithm: Optimality. Answer: It is optimal if against an optimal opponent. ◉ Minimax Algorithm: Time Complexity. Answer: O(b^m) b - Branching Factor m - Max Depth ◉ Minimax Algorithm: Space Complexity. Answer: O(bm) or O(m) depending on implementation. b - Branching Factor m - Max Depth ◉ Alpha-Beta Pruning. Answer: A method for eliminating branches during the search that will not affect the outcome. ◉ Evaluation Function. Answer: Gives an estimate of the expected utility of the game from a given position.

◉ Least Constraining Value. Answer: Given a variable, choose the value that constrains the other unassigned variables the least. ◉ Forward Checking. Answer: When a variable is assigned a value, establish arc consistency - discarding states which don't meet the constraints. ◉ Min-Conflicts Heuristic. Answer: Choose the value that violates the smallest number of constraints. ◉ Probabilistic Inference. Answer: Computing the posterior probability of a given proposition given observed evidence. ◉ Coarticulation. Answer: The articulation of two or more speech sounds together, so that one influences the other. ◉ Exhaustive. Answer: The sample set contains all possible outcomes. ◉ Mutually Exclusive. Answer: Only one outcome can exist at any given time. ◉ Proposition. Answer: A statement to be evaluated as true or false.

◉ Unconditional Probability / Prior Probability / Prior. Answer: Probability value in the absence of any other information. ◉ Conditional Probability / Posterior Probability / Posterior. Answer: Probability value in the presence of additional information (evidence). ◉ Conditional Probability: Formula. Answer: ◉ Domain. Answer: Set of possible values the variable can take on. ◉ Probability Distribution: One Variable Example. Answer: P(Weather) = ⟨0.6, 0.1, 0.29, 0.01⟩ ◉ Probability Distribution: Multiple Variables Example. Answer: P(Weather, Cavity): a 4×2 table of probabilities - joint probability distribution of Weather and Cavity ◉ Joint Probability Distribution. Answer: The probability distribution determining the probabilities of outcomes involving two or more random variables. ◉ Full Joint Probability Distribution. Answer: The joint distribution for all of the random variables.

  • P(a | b) = P(a)
  • P(b | a) = P(b)
  • P(a ^ b) = P(a) P(b)
  • P(a, b) = P(a) P(b) ◉ Bayes' Network: Relationships [2]. Answer: - Each node is conditionally independent of its non-descendants given its parents.
  • Each node is conditionally independent of all other nodes in the network given its Markov Blanket: parents, children, children's parents. ◉ Constructing A Bayes' Network. Answer: A → B ≡ P(a,b) = P(a) P(b | a) A ← B ≡ P(a,b) = P(b) P(a | b) ◉ Polytree. Answer: A singly connected network. Time and space complexity is linear in the size of the network. ◉ Markov Property. Answer: Knowledge of previous actions and states is unnecessary, it only aids us to know the current state and action options.

◉ Ideally, what do we want state to convey?. Answer: Ideally, a state should summarise past sensations so as to retain all "essential" information. P(sₙ₊₁, rₙ₊₁ | sₙ, aₙ) ◉ Markov Decision Process: Discount Rate. Answer: γ is the discount rate between 0 ≤ γ < 1. The closer it is to 1 - the more valuable future return is. ◉ Markov Decision Process: Expected Discounted Return. Answer: The most commonly used metric formulated from each reward multiplied by the discount rate to the power of its index. ◉ Markov Decision Process: Finite Process and Discount Rate. Answer: If you know the process will end at some point then the discount factor of 1 can be used. ◉ Markov Decision Process (MDP) [5]. Answer: A model consisting of:

  • Set of states: S
  • Available actions from state s: A(s), s ∈ S
  • Transition probabilities: P(s' | s, a)

◉ Bellman Optimality Equation For V. Answer: The value of a state under an optimal policy must equal the expected return for the best action from that state. ◉ How to solve for V. Answer: Turn it into an iterative update equation. ◉ Supervised Learning. Answer: Learning from examples. ◉ Reinforcement Learning. Answer: A computational approach to goal-directed learning from interaction. ◉ State at Step t. Answer: The information available to the agent at step t about its environment. ◉ Reinforcement Learning: MDP. Answer: If a reinforcement learning problem has the Markov Property, then it is a Markov Decision Process (MDP). ◉ Episodic Tasks. Answer: Interaction breaks naturally into episodes, at the end of each episode, there is a "reset". For example, individual games of chess.

◉ Continuing Tasks. Answer: Interaction continues indefinitely, with no"reset". For example, a robot with a long lifespan. ◉ Episodic Tasks: Maximisation. Answer: Maximise the expected return. ◉ Continuing Tasks: Maximisation. Answer: Maximise the expected discounted return. ◉ Notation: Policy at time n. Answer: πₙ(s, a) This specifies the probability of taking action a in state s. ◉ Reinforcement Learning's Effect on Policy. Answer: It tells us how to modify the agent's policy at time t as a result of the history up to time t. ◉ State-Value Function: Terminal State. Answer: The value of a terminal state (if there is any) is always 0. ◉ Vπ (s) VS Qπ (s, a). Answer: V: Expected return when starting in s and following π thereafter.