> ## Documentation Index
> Fetch the complete documentation index at: https://shapely.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Random Forest Classifier

>  Random Forest creates a collection of independent decision trees, each trained on a random subset of the data. When making a prediction, every tree votes and the most popular class wins.

This ensemble approach reduces overfitting and makes predictions more robust than any single decision tree. 

<Note>
  * Random Forest is one of the most versatile classifiers available. It handles both numerical and categorical features, requires minimal parameter tuning, and can rank features by importance.
  * When you are unsure which algorithm to use, Random Forest is an excellent default choice.
</Note>

### Use Cases

* **Multi-class classification**: Classify elements into multiple categories (e.g., wall types, floor categories, room functions).

<a href="/images/ML/Random Forest Classifier.png" target="_blank">
  <img src="https://mintcdn.com/shapely/GiFxyBIPYCb4gWwv/images/ML/Random%20Forest%20Classifier.png?fit=max&auto=format&n=GiFxyBIPYCb4gWwv&q=85&s=66a85c2f6566749c0b557271b888e785" className="pointer-events-none" style={{ borderRadius: '0.5rem', border: '1px solid rgba(0,0,0,0.1)' }} width="1362" height="1071" data-path="images/ML/Random Forest Classifier.png" />
</a>
