Machine Learning Notes
What is Machine Learning? Machine Learning is a branch of AI that enables computers to learn
from data without being explicitly programmed.
Types of Machine Learning
1. Supervised Learning: Uses labeled data. Examples: Linear Regression, Logistic Regression,
Decision Trees, SVM.
2. Unsupervised Learning: Uses unlabeled data. Examples: K-Means Clustering, PCA.
3. Reinforcement Learning: An agent learns through rewards and penalties.
Linear Regression: Predicts continuous values such as house prices.
Classification: Predicts categories such as Spam or Not Spam.
Overfitting: The model memorizes training data and performs poorly on new data.
Underfitting: The model is too simple and fails to learn important patterns.
Model Evaluation: Common metrics include Accuracy, Precision, Recall, F1-Score, and RMSE.