What is Random forest?
In Turkish: Rastgele orman · Topic: Math foundations
A machine learning method that trains many decision trees and combines their predictions by majority vote or averaging to reach a final answer.
How does it work?
The method first draws many random samples from the training data. A separate decision tree is grown on each sample, and at every split the tree considers only a randomly chosen handful of features rather than all of them. This makes the trees make different mistakes. At prediction time, classification takes a vote across the trees, while numeric prediction averages their answers. It works like the wisdom of crowds: many individually noisy judgments become more stable when pooled.
Why does it matter?
A random forest reduces the tendency of a single decision tree to memorize its training data, and it is known for giving good results with little tuning. It remains a common baseline for tabular data such as customer records or loan applications. It can also show which features mattered most, which helps with interpretability.
Example
A bank could build a forest of hundreds of trees that look at an applicant's income, debts and payment history, then estimate credit risk from the trees' votes.
FAQ
What is the difference between a random forest and a single decision tree?
A single decision tree can memorize details of the training data and then err on new cases. A random forest takes the joint decision of many different trees, so it is usually more stable, though it is harder to read than one tree.
Does a random forest replace deep learning?
Usually not, because they shine in different areas. Deep learning is strong on images, audio and text, while tree-based methods like random forests remain strong choices for tabular data made of rows and columns.