Added required comments
This commit is contained in:
parent
9a164e9370
commit
2b514fe543
52
README.md
52
README.md
@ -1,5 +1,12 @@
|
|||||||
# arff-mining
|
# arff-mining
|
||||||
|
|
||||||
|
## Author, Date, Description
|
||||||
|
- Gregory Crawford
|
||||||
|
- Date: 2024-04-17
|
||||||
|
- Description: Read data from ARFF file and generate OneR output
|
||||||
|
- Performance summary at the bottom of this README
|
||||||
|
|
||||||
|
|
||||||
## Compiling the project
|
## Compiling the project
|
||||||
|
|
||||||
Prerequisites
|
Prerequisites
|
||||||
@ -10,6 +17,7 @@ In order to compile the project, simply run these two commands:
|
|||||||
cmake -B build -S .
|
cmake -B build -S .
|
||||||
cmake --build build
|
cmake --build build
|
||||||
|
|
||||||
|
|
||||||
## Running the Project
|
## Running the Project
|
||||||
|
|
||||||
The programs should now be compiled at ./build/bin/
|
The programs should now be compiled at ./build/bin/
|
||||||
@ -23,3 +31,47 @@ One Rule:
|
|||||||
```plain
|
```plain
|
||||||
build/bin/onerule
|
build/bin/onerule
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Performance Summary
|
||||||
|
|
||||||
|
***contactLenses***
|
||||||
|
```
|
||||||
|
tear-prod-rate:
|
||||||
|
normal ---> soft
|
||||||
|
reduced ---> none
|
||||||
|
Error rate: 7/24
|
||||||
|
build/bin/onerule 0.00s user 0.00s system 85% cpu 0.002 total
|
||||||
|
```
|
||||||
|
|
||||||
|
***restaurants***
|
||||||
|
```
|
||||||
|
Pat:
|
||||||
|
Full ---> No
|
||||||
|
None ---> No
|
||||||
|
Some ---> Yes
|
||||||
|
Error rate: 2/12
|
||||||
|
build/bin/onerule 0.00s user 0.00s system 85% cpu 0.001 total
|
||||||
|
```
|
||||||
|
|
||||||
|
***soybean***
|
||||||
|
```
|
||||||
|
fruit-spots:
|
||||||
|
absent ---> alternarialeaf-spot
|
||||||
|
brown-w/blk-specks ---> anthracnose
|
||||||
|
colored ---> frog-eye-leaf-spot
|
||||||
|
distort ---> alternarialeaf-spot
|
||||||
|
dna ---> brown-stem-rot
|
||||||
|
Error rate: 385/683
|
||||||
|
build/bin/onerule 0.02s user 0.00s system 98% cpu 0.024 total
|
||||||
|
```
|
||||||
|
|
||||||
|
***weather***
|
||||||
|
```
|
||||||
|
outlook:
|
||||||
|
overcast ---> yes
|
||||||
|
rainy ---> yes
|
||||||
|
sunny ---> no
|
||||||
|
Error rate: 4/14
|
||||||
|
build/bin/onerule 0.00s user 0.00s system 87% cpu 0.001 total
|
||||||
|
```
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Author: Gregory Crawford
|
* Author: Gregory Crawford
|
||||||
* Date: 2024-03-18
|
* Date: 2024-03-18
|
||||||
* Description: Read and store ARFF data from a file
|
* Description: Read data from ARFF file and generate OneR output
|
||||||
*/
|
*/
|
||||||
#include "arff.hpp"
|
#include "arff.hpp"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user