v0.2.49..v0.2.50 changeset RandomForestModelBuilder.cpp
Garret Voltz edited this page Nov 6, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/scoring/RandomForestModelBuilder.cpp b/hoot-core/src/main/cpp/hoot/core/scoring/RandomForestModelBuilder.cpp
index 40781a6..e64c073 100644
--- a/hoot-core/src/main/cpp/hoot/core/scoring/RandomForestModelBuilder.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/scoring/RandomForestModelBuilder.cpp
@@ -35,7 +35,8 @@
#include <hoot/core/scoring/MatchFeatureExtractor.h>
#include <hoot/core/util/ConfigOptions.h>
#include <hoot/core/util/Log.h>
-#include <hoot/core/util/IoUtils.h>
+#include <hoot/core/io/IoUtils.h>
+#include <hoot/core/util/StringUtils.h>
#include <hoot/core/io/ArffToRfConverter.h>
@@ -91,7 +92,8 @@ void RandomForestModelBuilder::build(const QStringList trainingData, QString out
mfe.processMap(map);
}
- LOG_INFO("Processed " << mfe.getSamples().size() << " total samples.");
+ LOG_INFO(
+ "Processed " << StringUtils::formatLargeNumber(mfe.getSamples().size()) << " total samples.");
ArffWriter aw(output + ".arff", true);
aw.write(mfe.getSamples());