Scikit-learn

Scikit-learn Random Forest

Create Random Forest model for classification or regression task. Please check Advanced options to set hyper parameters values. After model creation model should be fitted on data.

random-forestclassificationregression

Required packages

You need below packages to use the code generated by recipe. All packages are automatically installed in MLJAR Studio.

scikit-learn>=1.5.0

Interactive recipe

You can use below interactive recipe to generate code. This recipe is available in MLJAR Studio.

Python code

# Python code will be here

Code explanation

Create model for Random Forest algorithm with selected hyper parameters.

Please be aware that training time greatly depends on number of trees in the model and data size.

Example Python notebooks

Please find inspiration in example notebooks

« Previous
Decision Tree