Ai Notes ch2
Ai Notes ch2
Key Objectives
• Differentiate AI and Machine Learning (ML).
• Survey primary ML paradigms and algorithms.
• Appreciate common pitfalls and best practices.
2. Main Paradigms
• Supervised Learning – labeled data (classification, regression).
• Unsupervised Learning – find structure (clustering, dimensionality reduction).
• Reinforcement Learning – agents learn via reward feedback.
• Semi■supervised & Self■supervised – leverage unlabeled data.
3. Typical Workflow
1) Problem Definition
2) Data Collection & Cleaning
3) Feature Engineering
4) Model Selection & Training
5) Evaluation (train/validation/test splits, cross■validation)
6) Deployment & Monitoring
4. Common Algorithms
– k■Nearest Neighbors
– Linear & Logistic Regression
– Decision Trees & Random Forests
– Support Vector Machines
– Gradient Boosting (XGBoost, LightGBM)
– Neural Networks & Deep Learning
5. Key Concepts
• Overfitting vs. Underfitting
• Bias■Variance Trade■off
• Regularization (L1, L2, dropout)
• Hyperparameter Tuning
• Performance Metrics (accuracy, precision, recall, F1, ROC■AUC)
Quick Summary
ML empowers computers to learn patterns from data. Mastery involves understanding
algorithms, diligent data preparation, and rigorous evaluation to avoid misleading
results.