AI 2

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/51

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:23 PM on 4/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

52 Terms

1
New cards

What is the minimax value of a node in a two-player zero-sum game?

The minimax value is the best guaranteed outcome assuming both players play optimally. MAX nodes take the maximum of children, and MIN nodes take the minimum.

2
New cards

How does the minimax algorithm work?

It recursively explores the game tree, alternating between maximizing and minimizing layers, and backs up utility values from the leaves.

3
New cards

What is alpha-beta pruning?

An optimization of minimax that eliminates and skips branches that cannot affect the final decision using alpha (best for MAX) and beta (best for MIN).

4
New cards

When can alpha-beta pruning occur?

When α ≥ β, meaning the current branch cannot improve the outcome.

5
New cards

What is Monte-Carlo Tree Search (MCTS)?

An algorithm that uses random simulations to estimate the best move through selection, expansion, simulation, and backpropagation.

6
New cards

What is expectiminimax?

An extension of minimax that handles chance nodes by taking expected values (averages based on probabilities).

7
New cards

What does “valid” mean in logic?

it is true in all possible models.

8
New cards

What’s an example of valid

P ∨ ¬P

9
New cards

What does “satisfiable” mean?

It is true in at least one model.

10
New cards

What’s an example of “satisfiable”

A∨B

11
New cards

What does “unsatisfiable” mean?

It is false in all models.

12
New cards

What’s an example of unsatisfiable

A∧¬A

13
New cards

What is propositional logic?

A system of logic using variables that can be true or false combined with logical connectives.

14
New cards

What is a model in propositional logic?

An assignment of true/false values to all variables.

15
New cards

What’s an example of a model in propositional logic

{P = True, Q = False}

16
New cards

What is Modus Ponens?

If P and P → Q and P are true, then Q must be true.

17
New cards

What’s an example of modus ponens

If it rains, ground is wet. It rained. Therefore, ground is wet.

18
New cards

What is forward chaining?

A data-driven inference method that starts with known facts and applies rules to derive new facts.

19
New cards

What’s an example of forward chaining

Knowing A and A => B, we add B to our facts

20
New cards

What is backward chaining?

A goal-driven method that starts with a query and works backward to see if it can be proven.

21
New cards

What’s an example of backward chaining?

To prove B, check if A is true and A => B exists

22
New cards

What is unit propagation?

If a clause has only one literal (unit clause), that literal must be assigned true.

23
New cards

What’s an example of unit propagation?

In (P) ∧ (¬P ∨ Q), P must be true

24
New cards

What is pure literal elimination?

If a variable appears only as positive or only negative, it can be assigned a value that satisfies all clauses.

25
New cards

What is entailment?

this means that one thing follows from another:

KB ⊨ α

Knowledge base KB entails sentence α if and only if α is true in all worlds where KB is true.

26
New cards

What’s an example of entailment

p |= p ∨ q

27
New cards

What is a Horn clause?

A disjunction of literals of which at most one is positive.

28
New cards

What’s an example of a horn clause

¬A ∨ ¬B ∨ C

29
New cards

How does forward chaining work?

Repeatedly apply inference rules to known facts until no new facts can be derived or the goal is reached.

30
New cards

How does model checking work?

It checks all possible truth assignments to see if a statement is always true.

31
New cards

How does backward chaining work?

Start with a goal and recursively break it into subgoals until known facts are reached.

32
New cards

How does resolution work?

It combines clauses to eliminate variables and derive new clauses until a contradiction is found.

33
New cards

Give an example of Modus Ponens.

If it rains → ground is wet. It rains. Therefore, the ground is wet.

34
New cards

Show forward chaining to prove KB ⊨ x₄:

x1

x3

x1 ∧ x2 → x4

x3 → x2

x1 and x3 are known.

From x3 → x2, infer x2, add to facts

Now {x1, x2} are true. We have x1 ∧ x2 → x4. Since both premises are met, add x4 to facts.

35
New cards

How do you translate English into propositional logic?

Example: “If it rains, the ground is wet” becomes R → W.

36
New cards

How do you convert A → B into CNF?

Rewrite as ¬A ∨ B.

37
New cards

Give an example of a branching rule for DPLL. Explain the motivation behind it.

Degree Heuristic; motivation is to reduce the search space by failing early (pruning) or satisfying the most difficult constraints first.

38
New cards

What is the factored representation for CSP states?

A representation using a set of variables (X1, X2,…), a set of domains (D1, D2,…), and a set of constraints defining allowed value combinations.

39
New cards

Give an example of factored representation for CSP

X ∈1,2,3

Y ∈1,2,3

Constraint: X ≠ Y

40
New cards

What is cutset conditioning?

instantiate (in all ways) a set of variables such that the remaining constraint graph is a tree

41
New cards

What is forward checking in CSP?

After assigning a variable, eliminate inconsistent values from neighboring domains.

42
New cards

What is AC-3 for enforcing arc-consistency?

More rigorous version of forward checking. It ensures that for every value in Domain(X), there is some value in Domain(Y) that satisfies the constraint. It repeats this until no more values can be deleted.

43
New cards

Example of forward checking.

If X = 1 and X ≠ Y, then remove 1 from Y’s domain.

44
New cards

How do you select an attribute for splitting in decision-tree-learning?

Use information gain; choose the attribute that reduces entropy the most

45
New cards

What is entropy?

A measure of impurity: H(S) = -Σ pi log2 pi.

46
New cards

What is entropy when data is perfectly split (50/50)?

Entropy = 1.

47
New cards

How can overfitting be prevented in Decicion-Tree-Learning?

Pruning, limiting depth, requiring minimum samples, or cross-validation.

48
New cards

What does it mean for a target function to be realizable in the context of supervised learning?

The "true" relationship between inputs and outputs can be perfectly represented by the model class (e.g., a linear relationship can be represented by a linear model).

49
New cards

What does it mean for a target function to be nonrealizable in the context of supervised learning?

the model class is too simple to represent the true function

50
New cards

What does it mean for a target function to be redundant in the context of supervised learning?

Extra features that do not affect the outcome.

51
New cards

What is ensemble learning?

Combining multiple models to improve performance.

52
New cards

Give an example of ensemble learning.

Random Forest combines many decision trees and uses voting.