Foundations · 1 min read · Updated 2026-10-05
Common machine learning methods
Line fitting (linear regression)
It draws the best straight line through dots to predict a number. For example, a bigger house usually costs more, so the line goes up.
Decision tree
It asks a chain of yes or no questions, like 'Is it raining?' Each answer leads to the next question until it reaches a decision.
Clustering
It puts similar things in the same group without being told the groups. A popular version is called k-means.
Neural network
Many tiny connected units that learn patterns too tricky for simple rules, like faces, speech and language. This is the method behind modern chatbots.
Key takeaways
- Different problems need different methods.
- Simple methods are fast and easy to explain.
- Neural networks handle the hardest patterns.
Quick questions
Which method is best?
It depends on your data and your goal. Simple methods are often enough.
What is an algorithm?
A step-by-step recipe that a computer follows.
Do chatbots use these?
They mainly use neural networks. The other methods are still common elsewhere.