📘 PAPER 3: ARTIFICIAL INTELLIGENCE & ROBOTICS UNIT 1 – INTRODUCTION TO AI & SEARCH TECHNIQUES (university of allahabad)
🔴 UNIT 1 – INTRODUCTION TO AI & SEARCH TECHNIQUES
1️⃣ Introduction to Artificial Intelligence (AI)
✅ Definition of AI
Artificial Intelligence is a branch of computer science that deals with creating intelligent machines capable of performing tasks that normally require human intelligence.
Examples:
2️⃣ Scope of Artificial Intelligence
AI is widely used in the following fields:
🔹 1. Games
-
Chess
-
Ludo
-
Video games
🔹 2. Theorem Proving
-
Logical reasoning
-
Mathematical proof verification
🔹 3. Natural Language Processing (NLP)
-
Language translation
-
Chatbots
-
Speech recognition
🔹 4. Vision Systems
-
Face recognition
-
Object detection
-
Medical image analysis
🔹 5. Robotics
-
Industrial robots
-
Medical robots
-
Space robots
🔹 6. Expert Systems
-
Medical diagnosis
-
Fault detection
-
Decision-making systems
3️⃣ AI Techniques
AI techniques are methods used to solve complex problems.
Important AI Techniques:
-
Search techniques
-
Knowledge representation
-
Heuristic methods
-
Reasoning techniques
4️⃣ Intelligent Agents
✅ Definition
An Intelligent Agent is an entity that:
-
Perceives environment using sensors
-
Acts using actuators
-
Makes decisions intelligently
Components of Intelligent Agent:
| Component | Description |
|---|---|
| Sensors | Collect information |
| Actuators | Perform actions |
| Environment | Where agent operates |
| Agent function | Maps perception to action |
Types of Agents
-
Simple reflex agent
-
Model-based agent
-
Goal-based agent
-
Utility-based agent
-
Learning agent
5️⃣ Search Techniques in AI
Search is the heart of AI.
Search Problem Components:
-
Initial state
-
Goal state
-
Operators
-
State space
-
Path cost
6️⃣ State Space Search
Definition:
State space is a set of all possible states from initial to goal state.
Example:
8-puzzle problem
7️⃣ Control Strategies
Control strategy decides:
-
Which node to expand next
-
How to traverse state space
8️⃣ Blind Search Techniques
🔹 1. Breadth First Search (BFS)
Characteristics:
-
Explores level by level
-
Uses Queue (FIFO)
-
Finds shortest path
Advantages:
✔ Complete
✔ Optimal
Disadvantages:
❌ High memory usage
❌ Slow for large problems
🔹 2. Depth First Search (DFS)
Characteristics:
-
Goes deep first
-
Uses Stack (LIFO)
Advantages:
✔ Less memory
✔ Easy to implement
Disadvantages:
❌ May go into infinite loop
❌ Not optimal
🔹 BFS vs DFS
9️⃣ Heuristic Search Techniques
✅ Heuristic
A heuristic is a rule of thumb used to guide the search.
🔹 1. Hill Climbing
-
Moves toward better state
-
Uses heuristic function
-
Greedy approach
Problems:
-
Plateau
-
Ridge
🔹 2. Best First Search
-
Uses evaluation function f(n)
-
Chooses best node first
🔹 3. A* Algorithm
Formula:
Where:
-
g(n) = cost from start to n
-
h(n) = heuristic estimate
✔ Complete
✔ Optimal
✔ Widely used
🔟 AND–OR Graphs & AO* Algorithm
AND–OR Graph
-
OR node → choose one path
-
AND node → all paths required
AO* Algorithm
-
Used for AND–OR graphs
-
Improves A* algorithm
-
Finds optimal solution graph
1️⃣1️⃣ Constraint Satisfaction Problem (CSP)
Definition:
A problem defined by:
-
Variables
-
Domains
-
Constraints
Example:
-
Map coloring
1️⃣2️⃣ Game Playing in AI
Minimax Algorithm
-
Two-player game
-
MAX vs MIN
-
Used in chess
Alpha-Beta Pruning
-
Optimization of minimax
-
Reduces nodes explored
-
Faster execution
1️⃣3️⃣ Genetic Algorithms
Inspired by:
-
Natural selection
Evolution
-
Initialization
-
Selection
-
Crossover
-
Mutation
-
New generation
Comments
Post a Comment