What steps does machine learning follow?
A machine learning effort goes through four stages:
- Data is collected Past examples related to the event to be predicted are brought together.
- The model is trained The algorithm learns the relationship between inputs and outputs from these examples.
- The model is tested How accurate the model is gets measured on a separate dataset that was not used in training.
- The model is put into use The model produces predictions for new incoming records; its performance is reviewed at regular intervals.
What are the main types of machine learning?
Based on how the model learns, three main types are distinguished:
| Type | How it learns | Example |
|---|---|---|
| Supervised learning | Learns from examples whose outcome is known in advance. | Predicting churn based on data from customers who have already left |
| Unsupervised learning | Looks for groups and patterns on its own in unlabeled data. | Segmenting customers by similar characteristics |
| Reinforcement learning | Finds the best behavior step by step through trial and the feedback it receives. | Dynamic pricing, robotics |