Artificial Intelligence (AI) is a branch of computer science that focuses on creating systems that can perform tasks that typically require human intelligence. These tasks include learning, reasoning, problem-solving, perception, and natural language understanding.
1. AI vs. Machine Learning vs. Deep Learning
| Concept | Definition | Example |
|---|---|---|
| Artificial Intelligence (AI) | The broad field of making machines "intelligent" | Chatbots, self-driving cars |
| Machine Learning (ML) | A subset of AI where machines learn from data to make predictions | Spam detection, product recommendations |
| Deep Learning (DL) | A subset of ML that uses artificial neural networks for complex tasks | Face recognition, language translation |
3. Key Components of ML
Dataset: Collection of examples (inputs and outputs).
Features (X): Input variables used for predictions.
Target (Y): Output variable (what we want to predict).
Model: Mathematical representation of learned patterns.
Training: The process of finding patterns in data.
Evaluation: Testing the model on unseen data to measure accuracy
4. Machine Learning Workflow
Data Collection → Gather and clean data.
Feature Engineering → Select and preprocess input variables.
Model Selection → Choose an ML algorithm (e.g., Decision Trees, Neural Networks).
Training → Train the model on historical data.
Evaluation → Test model performance on unseen data.
Deployment → Use the model in real-world applications.