Tags: #◇Computer Science #◇CSINTSY #◇Artificial Intelligence #◇Machine Learning #◇Reviewer #◇Finals
CSINTSY Comprehensive Finals Reviewer
◇Overview
This reviewer consolidates Introduction to Artificial Intelligence (CSINTSY). Core subjects encompass intelligent agents (PEAS, agent environments), uninformed search (BFS, DFS, Uniform Cost Search), informed search (Greedy Best-First, A* Search, heuristic admissibility and consistency), adversarial game search (Minimax, Alpha-Beta pruning), Markov Decision Processes (MDPs, Value Iteration), and machine learning models (Decision Trees with ID3/Entropy/Information Gain, K-Means Clustering, Neural Networks).
◇1. Search Algorithms Master Matrix
| Algorithm | Frontier / Queue | Completeness | Time Complexity | Space Complexity | Optimality |
|---|---|---|---|---|---|
| BFS | FIFO Queue | Yes (if ) | (memory-bound) | Yes (if step cost ) | |
| DFS | LIFO Stack | No (in infinite spaces) | (space-efficient) | No | |
| Uniform Cost (UCS) | Priority Queue by | Yes (if step cost ) | Yes (lowest cost path) | ||
| Greedy Best-First | Priority Queue by | No (can get stuck in loops) | No | ||
| A Search* | Priority Queue by | Yes | Yes (if is admissible/consistent) |
Heuristic Properties for A*
- Admissibility: for all (never overestimates the true remaining cost to the goal). Guarantees optimality in tree search.
- Consistency (Monotonicity): . Satisfies triangle inequality. Guarantees optimality in graph search without re-opening closed nodes!
◇2. Adversarial Search: Alpha-Beta Pruning Rules
- : The value of the best (highest-value) choice found so far by MAX along the path. Initialized to .
- : The value of the best (lowest-value) choice found so far by MIN along the path. Initialized to .
- Pruning Condition: Prune the remaining sub-branches whenever:
◇3. Decision Tree Learning (ID3 Algorithm)
- Entropy : Measures impurity of set :
- Information Gain : Expected entropy reduction from partitioning on attribute :
ID3 greedily splits on the attribute with the highest Information Gain!
◇4. High-Yield Exam Checklist
- Is an admissible heuristic allowed to overestimate the cost to the goal? NO, never ().
- In Minimax, whose turn updates ? MAX updates ; MIN updates .
- What is the entropy of a completely pure dataset (all positive or all negative)? Exactly 0.
- What is the entropy of an evenly split binary dataset (50% positive, 50% negative)? Exactly 1.0.
- Does Value Iteration guarantee convergence in discounted infinite-horizon MDPs? YES, by Banach Fixed-Point Theorem.
◇References & Navigation
- Previous Topic: ◇CCDSALG, ◇STT101A
- Next Topic: ◇CSMODEL
- Prerequisites: ◇Artificial Intelligence, A* Search, Minimax, Decision Trees
- Cross-Curricular Connections: ◇CSALGCM
ACTIVE RECALL VERIFICATION
Select an answer to verify conceptual comprehension and reveal the technical rationale.
If a heuristic function satisfies for every node and successor , the heuristic is:
In an adversarial game tree, a MIN node evaluates a child that returns a score of 4. If the parent MAX node currently has an value of 5, what should happen?
Given a dataset of 8 positive examples and 8 negative examples, what is the initial Entropy ?
In A* graph search, what is the evaluation function ?
Which unsupervised algorithm iteratively assigns points to the closest centroid and recalculates centroids as the arithmetic mean of assigned points?