4.1 Unsupervised learning
Unsupervised learning: -
- Unsupervised learning is a machine learning technique in which the algorithm learns patterns from unlabeled data and groups similar data automatically.
- The machine learns from data on its own without user guidance.
- In this method, we give the system only input data, but we do not tell the correct output.
- The algorithm studies the data and finds patterns or groups by itself.
- it is used mainly for clustering and pattern discovery
Example : Grouping Fruits
Imagine we give a computer a basket of fruits with features like:
-
Color
-
Size
-
Shape
The computer does not know the names apple, orange, banana. But it observes the features and groups similar fruits together.
For example:
Group 1 → Red, round fruits
Group 2 → Yellow, long fruits
Group 3 → Orange, round fruits
The computer creates groups based on similarity. This process is called clustering, which is a common unsupervised learning technique.