Introduction to AI
Introduction to AI
Examples:
2. Generative AI
Examples:
How It Works:
1. Training Phase:
The algorithm learns by finding patterns in labeled data.
Example: If you’re training a model to identify fruits, the input might be
features like color, shape, and size, with labels like "apple," "banana,"
etc.
2. Prediction Phase:
Once trained, the model predicts labels for new, unseen data.
1. Classification:
Predicts discrete labels (categories).
Example: Email classification as "Spam" or "Not Spam."
2. Regression:
Predicts continuous values (numbers).
Example: Predicting house prices based on size, location, etc.
Common Algorithms:
Linear Regression
Logistic Regression
Decision Trees
Neural Networks
Random Forest
Real-Life Applications:
Types of Data in AI
How it Works:
Example Applications:
How it Works:
Example Applications:
How it Works:
Key Concepts:
Example Applications:
Robotics: Teaching robots to walk or manipulate objects.
How it Works:
Example Applications:
How it Works:
1. Define Initial State: The current situation (e.g., robot at the start of a
maze).
2. Define Goal State: The desired outcome (e.g., robot reaching the
maze exit).
3. Action Space: Possible actions the agent can take (e.g., move
forward, turn left).
Example Applications:
How it Works:
3. Querying: You can query the graph to find relationships or infer new
knowledge.
Example Applications: