GA AI
GA AI
│
├── 1. Inspiration
│ └── Natural Evolution (Darwin's "Survival of the fittest")
│
├── 2. Basic Terminologies
│ ├── Chromosome → Solution (string)
│ ├── Gene → Element of chromosome
│ ├── Population → Set of chromosomes
│ ├── Fitness Function → Evaluates how "good" a solution is
│
├── 3. GA Cycle (Main Steps)
│ ├── a) Initialization → Create initial population randomly
│ ├── b) Selection → Choose best individuals (parents)
│ ├── c) Crossover → Mix genes of parents to create children
│ ├── d) Mutation → Random tweak to maintain diversity
│ └── e) Replacement → Replace old generation with new
│
├── 4. Encoding Strategies
│ ├── Binary Encoding → 1100101
│ ├── Permutation Encoding → Order-based (TSP problems)
│ ├── Value Encoding → Real numbers (e.g., [3.2, 7.1])
│ └── Tree Encoding → Used in Genetic Programming
│
├── 5. Selection Methods
│ ├── Roulette Wheel Selection
│ ├── Tournament Selection
│ ├── Rank Selection
│ └── Elitism
│
├── 6. Crossover Techniques
│ ├── Single-Point Crossover
│ ├── Two-Point Crossover
│ └── Uniform Crossover
│
├── 7. Mutation Techniques
│ ├── Bit Flip (Binary)
│ ├── Swap Mutation (Permutation)
│ └── Gaussian Mutation (Real-Value)
│
├── 8. Termination Conditions
│ ├── Reached max generations
│ ├── Fitness threshold met
│ └── No improvement for N iterations
│
└── 9. Applications
├── Optimization Problems
├── Scheduling & Routing
├── Neural Network Weight Training
└── Robotics & Game AI
Artificial Neural Networks (ANN)
│
├── 1. Learning Types
│ ├── Supervised Learning
│ │ └── Input-output pairs provided
│ ├── Unsupervised Learning
│ │ └── No target output, clustering & pattern discovery
│ └── Reinforcement Learning
│ └── Feedback based on actions (reward/punishment)
│
├── 2. Basic Concepts
│ ├── Neuron (Processing Element)
│ │ └── Takes weighted input, applies activation
│ ├── Weights → Strength of connection
│ ├── Bias → Threshold adjustment
│ ├── Activation Function
│ │ ├── Step Function
│ │ ├── Sigmoid Function
│ │ ├── ReLU (Rectified Linear Unit)
│ │ └── Tanh
│
├── 3. Single-Layer Perceptron
│ ├── One input layer, one output
│ ├── Can solve only *linearly separable* problems
│ └── Uses Perceptron Learning Rule
│
├── 4. Multi-Layer Perceptron (MLP)
│ ├── Input Layer → Hidden Layer(s) → Output Layer
│ ├── Can solve *non-linearly separable* problems
│ └── Learns using *Backpropagation Algorithm*
│
├── 5. Self Organizing Maps (SOM)
│ ├── Unsupervised learning
│ ├── Maps high-dimensional data to lower dimensions
│ └── Preserves topological properties
│
├── 6. Hopfield Network
│ ├── Recurrent Neural Network (RNN)
│ ├── Symmetric weights (no self-connection)
│ ├── Used for associative memory
│ └── Converges to stable state
│
└── 7. Applications
├── Pattern Recognition
├── Image & Speech Processing
├── Medical Diagnosis
├── Stock Market Prediction
└── Robotics & Control Systems
Fuzzy Sets
│
├── 1. Basic Concepts
AI Planning
│
├── 1. What is Planning?
│ ├── Process of deciding a sequence of actions
│ ├── Goal: Reach desired goal state from initial state
│ └── Used in robotics, games, logistics, etc.
│
├── 2. Planning Problem
│ ├── Initial State
│ ├── Goal State
│ ├── Actions (Operators)
│ ├── State Space
│ └── Plan = Sequence of actions from start to goal
│
├── 3. Types of Planning
│
│ ├── a) Classical Planning
│ │ ├── Fully observable environment
│ │ ├── Deterministic actions
│ │ └── Example: STRIPS, Situation Calculus
│
│ ├── b) Conditional Planning
│ │ ├── Uncertainty in action outcomes
│ │ └── Includes IF-THEN-ELSE conditions
│
│ ├── c) Contingency Planning
│ │ ├── Plans for alternative possibilities
│ │ └── Used in real-world planning (e.g., GPS rerouting)
│
│ ├── d) Hierarchical Task Network (HTN) Planning
│ │ ├── Top-down decomposition of tasks
│ │ └── Used in practical applications (logistics, robotics)
│
│ └── e) Probabilistic Planning
│ ├── Outcomes have probabilities
│ ├── Uses MDP (Markov Decision Process)
│ └── Used in reinforcement learning
│
├── 4. Planning Techniques / Representations
│ ├── STRIPS (Stanford Research Institute Problem Solver)
│ ├── State-Space Search (Forward & Backward)
│ ├── Planning Graph (used in Graphplan)
│ ├── Situation Calculus (Logic-based planning)
│ └── Partial Order Planning (POP)
│
├── 5. Plan Execution & Monitoring
│ ├── Match actual state with expected state
│ ├── Replan if deviations occur
│ └── Used in real-time AI agents
│
└── 6. Applications of Planning
├── Robot Navigation
├── Automated Logistics
├── Game AI (Chess, Strategy Games)
├── Workflow Management
└── Smart Assistants (Goal-directed tasks)