Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/klimentlagrangiewicz/cart-in-c
Naive implementation of CART (Classification And Regression Tree) algorithm in C (standard C89/C90) for data classification
https://github.com/klimentlagrangiewicz/cart-in-c
ansi-c c89 cart classification data-mining decision-tree-classifier random-forest
Last synced: 2 months ago
JSON representation
Naive implementation of CART (Classification And Regression Tree) algorithm in C (standard C89/C90) for data classification
- Host: GitHub
- URL: https://github.com/klimentlagrangiewicz/cart-in-c
- Owner: KlimentLagrangiewicz
- Created: 2022-10-14T19:20:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-11T11:09:34.000Z (2 months ago)
- Last Synced: 2024-11-11T12:20:41.466Z (2 months ago)
- Topics: ansi-c, c89, cart, classification, data-mining, decision-tree-classifier, random-forest
- Language: C
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CART-in-C
Naive implementation of CART (Classification And Regression Tree) algorithm in C (standard C89/C90) for data classification## Example of usage
Cloning project and changing current directory:
```
git clone https://github.com/KlimentLagrangiewicz/CART-in-C
cd CART-in-C
```
Building from source (Linux):
```
make
```
Building from source (Windows):
```
make windows
```
If building was successfully, you can find executable file in `bin` subdirectory.
Run the program:
```
./bin/CART-in-C 9 4 150 ./datasets/iris/iris9.txt ./datasets/iris/test150.txt ./datasets/iris/result.txt ./datasets/iris/ideal150.txt
```