Skip to content

Commit

Permalink
lab: file names update
Browse files Browse the repository at this point in the history
  • Loading branch information
ksiminski committed Sep 23, 2023
1 parent 22097e4 commit dee714e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions source/experiments/exp-lab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,12 @@ void ksi::exp_lab::fuzzy_system()

const std::string DIRECTORY ("../data/exp-lab");
const std::string TRAIN (DIRECTORY + "/train.txt");
const std::string RESULTS (DIRECTORY + "/results-fuzzy.txt");
const std::string RESULTS (DIRECTORY + "/results-fuzzy");
const bool NORMALISATION = false;

for (auto p : systems)
{
p->elaborate_answers_for_regression(TRAIN, RESULTS + "-" + p->get_nfs_name(), NORMALISATION);
p->elaborate_answers_for_regression(TRAIN, RESULTS + "-" + p->get_nfs_name() + ".txt", NORMALISATION);
}

std::cout << "done" << std::endl;
Expand All @@ -177,8 +177,8 @@ void ksi::exp_lab::neuro_fuzzy_system()
{
// regression
const std::string DIRECTORY ("../data/exp-lab");
const std::string TRAIN (DIRECTORY + "/train");
const std::string TEST (DIRECTORY + "/test");
const std::string TRAIN (DIRECTORY + "/train.txt");
const std::string TEST (DIRECTORY + "/test.txt");
const std::string RESULTS (DIRECTORY + "/results-neuro-fuzzy");
const int NUMBER_OF_RULES = 4;
const int NUMBER_OF_CLUSTERING_ITERATIONS = 1000;
Expand All @@ -195,7 +195,7 @@ void ksi::exp_lab::neuro_fuzzy_system()

for (auto p : systems)
{
p->experiment_regression(TRAIN, TEST, RESULTS + "-" + p->get_nfs_name());
p->experiment_regression(TRAIN, TEST, RESULTS + "-" + p->get_nfs_name() + ".txt");
}

std::cout << "done" << std::endl;
Expand Down

0 comments on commit dee714e

Please sign in to comment.