https://github.com/jabr/fortuitous-woodland
A random forest classifier
https://github.com/jabr/fortuitous-woodland
ml random-forest wren-language
Last synced: about 2 months ago
JSON representation
A random forest classifier
- Host: GitHub
- URL: https://github.com/jabr/fortuitous-woodland
- Owner: jabr
- License: mit
- Created: 2022-03-19T17:52:59.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-28T19:21:58.000Z (about 3 years ago)
- Last Synced: 2025-03-15T00:11:14.177Z (2 months ago)
- Topics: ml, random-forest, wren-language
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# fortuitous-woodland
A simple [random forest](https://en.wikipedia.org/wiki/Random_forest) classifier in multiple languages.
* Python:
### Testing model generation
```sh
python3 python/test.py example-data.csv
```### Import module in code
```python
from forest import Observation, Observations, Train
// @todo
```* [Wren](https://wren.io/):
### Testing model generation
```sh
wren_cli wren/test.wren example-data.csv
```### Import module in code
```wren
import "./forest" for Observations, Observation, Classifier
// @todo
```* Ruby, Kotlin, Typescript, etc (todo)
## References
* Example data
- [Connectionist Bench (Sonar, Mines vs. Rocks) Data Set](http://archive.ics.uci.edu/ml/datasets/connectionist+bench+(sonar,+mines+vs.+rocks))
* [How to Implement Random Forest From Scratch in Python](https://machinelearningmastery.com/implement-random-forest-scratch-python/)## License
This project is licensed under the terms of the [MIT license](LICENSE.txt).