Activate best score in odte

This commit is contained in:
Ricardo Montañana Gómez 2023-10-25 10:23:42 +02:00
parent a8f9800631
commit 5a3af51826
Signed by: rmontanana
GPG Key ID: 46064262FD9A7ADE
4 changed files with 2 additions and 4 deletions

View File

@ -125,7 +125,7 @@ namespace bayesnet {
// Step 0: Set the finish condition // Step 0: Set the finish condition
// if not repeatSparent a finish condition is run out of features // if not repeatSparent a finish condition is run out of features
// n_models == maxModels // n_models == maxModels
// epsiolon sub t > 0.5 => inverse the weights policy // epsilon sub t > 0.5 => inverse the weights policy
// validation error is not decreasing // validation error is not decreasing
while (!exitCondition) { while (!exitCondition) {
// Step 1: Build ranking with mutual information // Step 1: Build ranking with mutual information

View File

@ -162,7 +162,6 @@ namespace platform {
maxHyper = max(maxHyper, (int)item.value().at(1).dump().size()); maxHyper = max(maxHyper, (int)item.value().at(1).dump().size());
maxFileName = max(maxFileName, (int)item.value().at(2).get<string>().size()); maxFileName = max(maxFileName, (int)item.value().at(2).get<string>().size());
} }
cout << "Hola" << endl;
stringstream oss; stringstream oss;
oss << Colors::GREEN() << "Best results for " << model << " as of " << date << endl; oss << Colors::GREEN() << "Best results for " << model << " as of " << date << endl;
cout << oss.str(); cout << oss.str();

View File

@ -11,7 +11,7 @@ namespace platform {
{ {
static map<pair<string, string>, pair<string, double>> data = { static map<pair<string, string>, pair<string, double>> data = {
{{"discretiz", "accuracy"}, {"STree_default (linear-ovo)", 22.109799}}, {{"discretiz", "accuracy"}, {"STree_default (linear-ovo)", 22.109799}},
//{{"odte", "accuracy"}, {"STree_default (linear-ovo)", 22.109799}}, {{"odte", "accuracy"}, {"STree_default (linear-ovo)", 22.109799}},
}; };
auto env = platform::DotEnv(); auto env = platform::DotEnv();
string experiment = env.get("experiment"); string experiment = env.get("experiment");

View File

@ -1,6 +1,5 @@
#include "Results.h" #include "Results.h"
#include <algorithm> #include <algorithm>
#include <iostream>
namespace platform { namespace platform {
Results::Results(const string& path, const string& model, const string& score, bool complete, bool partial) : Results::Results(const string& path, const string& model, const string& score, bool complete, bool partial) :