Machine Learning (ML) Basics
Machine Learning (ML) Basics
Definition and Types: Machine Learning (ML) is a subset of AI that involves training algorithms
to recognize patterns and make decisions based on data. ML can be categorized into:
● Supervised Learning: The algorithm is trained on labeled data, which means the
outcome for each input is known (e.g., classification and regression tasks).
● Unsupervised Learning: The algorithm is trained on unlabeled data and must find
hidden patterns or intrinsic structures (e.g., clustering, dimensionality reduction).
● Reinforcement Learning: The algorithm learns by interacting with an environment and
receiving rewards or penalties based on its actions.
Key Concepts:
● Features and Labels: Features are the input variables, while labels are the output or
target variables.
● Training and Testing: Data is split into training sets (for training the model) and testing
sets (for evaluating performance).
● Overfitting and Underfitting: Overfitting occurs when a model learns the training data
too well and performs poorly on new data, while underfitting happens when a model is
too simple to capture the underlying patterns.
Popular Algorithms:
Evaluation Metrics: