machine_learning.random_forest_regressor

Functions

main(→ None)

Random Forest Regressor Example using sklearn function.

Module Contents

machine_learning.random_forest_regressor.main() None

Random Forest Regressor Example using sklearn function. The diabetes dataset is used to demonstrate the algorithm.

Note: this example previously used the Boston house-price dataset, which was removed from scikit-learn (>=1.2) for ethical reasons. load_diabetes is a drop-in bundled alternative that ships with scikit-learn, so the example runs offline.