Machine Learning
Machine Learning
Machine Learning (ML) is a field of computer science that allows computers to learn
from data and make decisions or predictions without being explicitly programmed. In
ML, computers analyze data, find patterns, and use them to solve problems or make
predictions.
Testing: The computer’s predictions are checked against new data to see how well it
learned.
Types of Learning:
Supervised Learning: The computer is given input-output pairs and learns the
relationship. Examples: spam detection, predicting house prices.
Unsupervised Learning: The computer is only given input data and must find
patterns. Examples: grouping customers (clustering), market segmentation.
Reinforcement Learning: The computer learns by trial and error, getting rewards for
good actions and penalties for bad ones. Used in games, robotics, etc.
Labels: The output or result we want the computer to predict (e.g., type of fruit,
pass/fail).
Model:
A mathematical representation of the data. The model learns the patterns and makes
predictions.
Medical diagnosis
Self-driving cars