This repository contains the code for the blog posts on Decision Trees vs. Random Forests for classification and regression: A comparison and Using random forests for pixel classification. For further details, please refer to these two posts.
For reproducibility:
conda create -n random_forest_vs_decision_tree -y python=3.9
conda activate random_forest_vs_decision_tree
conda install -y mamba
mamba install -y scikit-learn matplotlib numpy ipykernel pandas scikit-image napari[all]