diff --git a/trainer/src/TrainInfos.cpp b/trainer/src/TrainInfos.cpp index b7a1c1bfd308c939ee7930eeb4e50a31d5743885..3659deaafab78656bf671371e3675af856dd9e3d 100644 --- a/trainer/src/TrainInfos.cpp +++ b/trainer/src/TrainInfos.cpp @@ -211,7 +211,7 @@ void TrainInfos::computeTrainScores(Config & c) for (auto & it : topologyPrinted) { if (it.first == "Parser") - addTrainScore(it.first, scoresFloat["MLAS"]); + addTrainScore(it.first, (scoresFloat["UAS"] + scoresFloat["LAS"] + scoresFloat["Sentences"]) / 3); else if (it.first == "Tokenizer") addTrainScore(it.first, scoresFloat["Tokens"]); else if (it.first == "Tagger") @@ -267,7 +267,7 @@ void TrainInfos::computeDevScores(Config & c) for (auto & it : topologyPrinted) { if (it.first == "Parser") - addDevScore(it.first, scoresFloat["MLAS"]); + addDevScore(it.first, (scoresFloat["UAS"] + scoresFloat["LAS"] + scoresFloat["Sentences"]) / 3); else if (it.first == "Tokenizer") addDevScore(it.first, scoresFloat["Tokens"]); else if (it.first == "Tagger")