Machine Learning
Machine Learning
1. Definition
Machine learning (ML) is a branch of artificial intelligence (AI) that focuses on creating systems that can
learn from data and improve their performance over time without being explicitly programmed.
Essentially, machine learning allows computers to make decisions, predictions, or classifications based on
data, using algorithms that identify patterns and make inferences.
2. Method of Learning
Supervised Learning:
Supervised learning is a machine learning approach that’s defined by its use of labeled data sets. These
data sets are designed to train or “supervise” algorithms into classifying data or predicting outcomes
accurately. Using labeled inputs and outputs, the model can measure its accuracy and learn over time.
Unsupervised Learning:
Unsupervised learning uses machine learning algorithms to analyze and cluster unlabeled data sets.
These algorithms discover hidden patterns in data without the need for human intervention (hence, they
are “unsupervised”).
Key Points:
The machine learns the relationship between inputs (fruit images) and outputs (fruit labels).
The trained machine can then make predictions on new, unlabeled data.
Regression: A regression problem is when the output variable is a real value, such as “dollars” or
“weight”.
Classification: A classification problem is when the output variable is a category, such as “Red”
or “blue”, “disease” or “no disease”.
Advantages of Supervised Machine Learning:
Supervised Learning models can have high accuracy as they are trained on labelled data.
It can often be used in pre-trained models which saves time and resources when developing
new models from scratch.
It has limitations in knowing patterns and may struggle with unseen or unexpected patterns that
are not present in the training data.