An open API service indexing awesome lists of open source software.

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

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).