Add time to experiment seed
This commit is contained in:
@@ -176,7 +176,7 @@ namespace platform {
|
|||||||
json confusion_matrices_train = json::array();
|
json confusion_matrices_train = json::array();
|
||||||
std::vector<std::string> notes;
|
std::vector<std::string> notes;
|
||||||
std::vector<std::string> graphs;
|
std::vector<std::string> graphs;
|
||||||
Timer train_timer, test_timer;
|
Timer train_timer, test_timer, seed_timer;
|
||||||
int item = 0;
|
int item = 0;
|
||||||
bool first_seed = true;
|
bool first_seed = true;
|
||||||
//
|
//
|
||||||
@@ -184,6 +184,7 @@ namespace platform {
|
|||||||
//
|
//
|
||||||
auto score = parse_score();
|
auto score = parse_score();
|
||||||
for (auto seed : randomSeeds) {
|
for (auto seed : randomSeeds) {
|
||||||
|
seed_timer.start();
|
||||||
if (!quiet) {
|
if (!quiet) {
|
||||||
string prefix = " ";
|
string prefix = " ";
|
||||||
if (!first_seed) {
|
if (!first_seed) {
|
||||||
@@ -274,8 +275,10 @@ namespace platform {
|
|||||||
graphs.push_back(result);
|
graphs.push_back(result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!quiet)
|
if (!quiet) {
|
||||||
std::cout << "end. " << flush;
|
seed_timer.stop();
|
||||||
|
std::cout << "end. [" << seed_timer.getDurationString() << "]" << std::endl;
|
||||||
|
}
|
||||||
delete fold;
|
delete fold;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user