A random forest is a machine learning model that trains many decision trees on random slices of the data and combines their votes, which makes it far more accurate and stable than a single tree.
Each tree in the forest sees a random sample of the rows and, at each split, a random subset of the columns. Individually the trees are rough, but their mistakes differ, so averaging their answers cancels much of the error. That fixes the main weakness of a single decision tree, which tends to memorise its training data.
The method was properly introduced by Leo Breiman in a 2001 paper, building on earlier work by Tin Kam Ho, as the history of random forests records. Businesses use it for churn prediction, credit risk, fraud detection and demand forecasting on structured data in rows and columns.
Is random forest outdated? No. Gradient-boosted trees such as XGBoost often score slightly higher, but random forests are quick to train, hard to break and need little tuning, so they remain a strong first model. Is it AI or ML? It is machine learning, which is a branch of AI.
Saraswati Stitch®