You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.3 KiB
Markdown

3 years ago
# Random_forest
Exploring random forest algorithm during residency Meise.
3 years ago
In this repository experiments with the random forest algorithm: a commented implementation to develop an understanding of its workings and a visualizer of the generated models.
3 years ago
## Files
3 years ago
The repository has an annotated version of the algorithm, a dataset with trainingdata and a visualizer.
3 years ago
*commenting_code_model/random_forest_model_altered.py* an implementation of the Random Forest model. Commented during [Anaïs Bercks' residency in Meise](https://algoliterarypublishing.net/activities.html), and slighty altered to store the generated model into a json file.
3 years ago
*commenting_code_model/iris_data.csv* data set on Iris petals
3 years ago
*commenting_code_model/visualizer/visualizer.py* the script visualizing a model generated by the *random_forest_model_altered.py* script.
3 years ago
## Running
3 years ago
## Requirements
3 years ago
The implementations are written in python and require python 3, find information on how to [install python here](https://www.python.org/downloads/)
3 years ago
The visualizer uses graphviz to generate the visualization. Find information on how to [install graphviz here](https://graphviz.org/download/)
3 years ago
The visualizer also requires the [graphviz python bindings](https://pypi.org/project/graphviz). The easiest way to install them is through pip:
3 years ago
```
pip3 install graphviz
```