Model: In machine learning, the result of training on data: something that takes new input and produces a prediction or other output.
Example
A bank trains a model on past loan data. When a new application arrives, the model takes details like income and repayment history and outputs a risk score that helps an officer decide.
Model vs Algorithm
An algorithm is the method, such as linear regression or a decision tree. A model is what you get after running that algorithm on your data: the learned patterns, saved and ready to use. The same algorithm trained on different data produces different models.
The Life of a Model
| Stage | What happens |
|---|---|
| Training | The model learns from training data |
| Testing | It is measured on data it hasn't seen |
| Deployment | It is put behind an API or inside an app |
| Prediction | It produces outputs for new inputs |
| Monitoring | Its performance is watched, because real-world data changes |
Why Models Need Care
A model is only as good as its data. If the data is biased or outdated, its predictions will be too. Teams retrain models regularly and check that they treat different groups fairly. In interviews, explaining how you tested your model matters more than which algorithm you used.
Related terms
- Training: how a model is created.
- Prediction: what a model produces.
- Machine Learning (ML): the field models come from.
- Large Language Model (LLM): a very large kind of model.
Previous term: Mock Interview | Next term: Monitoring
Related guides
- AI/ML vs Software Development
- Python Interview Questions Test
- How to Explain Your College Project in an Interview
Frequently asked questions
What is a model in machine learning?
A model is what is produced by training an algorithm on data. It takes new input and produces a prediction.
What is the difference between a model and an algorithm?
The algorithm is the learning method. The model is the result of applying it to specific data.
Why do models need retraining?
Because real-world data changes over time, and a model trained on old data can become less accurate.
How is a model used in an application?
Usually it is saved and served behind an API, which the application calls to get predictions.
Explore more internship terms
The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.
Browse all 199 terms