
What is Machine Learning?

Machine Learning (ML) is a branch of Artificial Intelligence (AI) that allows computers to learn from data and improve automatically without being explicitly programmed. With machine learning, you train a model using many examples of spam and non-spam emails. The system learns patterns on its own and then predicts whether a new email is spam.
How It Works (Simple Steps)
- Collect Data – Example: emails, images, numbers.
- Train a Model – The system finds patterns in the data.
- Make Predictions – It uses learned patterns on new data.
- Improve Over Time – More data = better accuracy.
Types of Machine Learning
- Supervised LearningLearns from labeled data.Example: Spam detection.
- Unsupervised LearningFinds patterns in unlabeled data.Example: Customer segmentation.
- Reinforcement LearningLearns by rewards and penalties.Example: Game-playing AI.
Real-Life Examples
- Netflix recommending movies
- Google Maps predicting traffic
- Face recognition on phones
- Chatbots like ChatGPT

