Machine Learning Basics – Class Notes
1. Introduction to Machine Learning
● Machine Learning (ML) is a subset of AI where computers learn patterns from data.
● Types of ML:
1. Supervised Learning – Model is trained on labeled data (e.g., predicting house
prices).
2. Unsupervised Learning – Model identifies patterns without labels (e.g.,
clustering customers).
3. Reinforcement Learning – Model learns by trial and error (e.g., game AI).
2. Key Algorithms
● Linear Regression, Logistic Regression
● Decision Trees, Random Forests
● K-Means Clustering
● Neural Networks
3. Important Concepts
● Overfitting & Underfitting: Overfitting occurs when the model memorizes data;
underfitting when it cannot capture patterns.
● Training vs Testing: Split dataset to train the model and test its performance.
● Evaluation Metrics: Accuracy, Precision, Recall, F1-score
4. Applications of ML
● Predictive analytics in finance
● Image recognition and computer vision
● Natural Language Processing (chatbots, translation)
5. References / Resources
● “Hands-On Machine Learning with Scikit-Learn, Keras & TensorFlow” – Aurélien Géron
● Coursera: Machine Learning by Andrew Ng