# Machine Learning

> The Machine Learning is a branch of AI in which systems learn patterns from data instead of being explicitly programmed.

## What is machine learning and how is it different from AI?

The branch of AI where algorithms find patterns in data and use them to make predictions, instead of following rules written by a developer. The quality of the result strongly depends on the amount and quality of training data.

- Topic: Basics
- Type: concept

## Interview questions

### Is machine learning the same as deep learning?

No. Deep learning is a subset of machine learning that uses neural networks with many layers. Machine learning also includes simpler methods like decision trees and linear regression.

### What are the main types of machine learning?

The main types are supervised learning on labeled data, unsupervised learning on unlabeled data and reinforcement learning from rewards.

### Do I need machine learning for my app?

Only when the rules are too complex to write by hand and you have enough data. If clear rules solve the problem, plain code is simpler and easier to debug.

## Related cards

- [AI](https://wonderium.dev/ai/ai.md)
- [Deep Learning](https://wonderium.dev/ai/deep-learning.md)
- [Supervised Learning](https://wonderium.dev/ai/supervised-learning.md)
- [Training](https://wonderium.dev/ai/training.md)
- [Dataset](https://wonderium.dev/ai/dataset.md)

---

- Level: [Artificial Intelligence](https://wonderium.dev/ai.md)
- HTML version: https://wonderium.dev/ai/machine-learning
- Last updated: 2026-11-25
