From 036b41a0eb13732f1572c7cde10ce5c109584bd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana?= Date: Wed, 21 Dec 2022 11:47:53 +0100 Subject: [PATCH] Update Readme --- README.md | 15 ++++++++++++++- sample/CMakeLists.txt | 1 - 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a8d04ce..892d922 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,17 @@ The implementation tries to mitigate the problem of different label values with - Sorts the values of the variable using the label values as a tie-breaker - Once found a valid candidate for the split, it checks if the previous value is the same as actual one, and tries to get previous one, or next if the former is not possible. -The algorithm returns the cut points for the variable. \ No newline at end of file +The algorithm returns the cut points for the variable. + +## Sample + +To run the sample, just execute the following commands: + +```bash +cd sample +mkdir build +cd build +cmake .. +make +./sample iris +``` \ No newline at end of file diff --git a/sample/CMakeLists.txt b/sample/CMakeLists.txt index 92d1a48..d4d1f55 100644 --- a/sample/CMakeLists.txt +++ b/sample/CMakeLists.txt @@ -4,4 +4,3 @@ project(main) set(CMAKE_CXX_STANDARD 14) add_executable(sample sample.cpp ArffFiles.cpp ../Metrics.cpp ../CPPFImdlp.cpp) -add_executable(test test.cpp ArffFiles.cpp ../Metrics.cpp ../CPPFImdlp.cpp)