Add Classification report to end of experiment if only one dataset is tested
This commit is contained in:
@@ -11,10 +11,13 @@ namespace platform {
|
||||
{
|
||||
result.save();
|
||||
}
|
||||
void Experiment::report()
|
||||
void Experiment::report(bool classification_report)
|
||||
{
|
||||
ReportConsole report(result.getJson());
|
||||
report.show();
|
||||
if (classification_report) {
|
||||
report.showClassificationReport();
|
||||
}
|
||||
}
|
||||
void Experiment::show()
|
||||
{
|
||||
|
@@ -32,7 +32,7 @@ namespace platform {
|
||||
void go(std::vector<std::string> filesToProcess, bool quiet, bool no_train_score);
|
||||
void saveResult();
|
||||
void show();
|
||||
void report();
|
||||
void report(bool classification_report = false);
|
||||
private:
|
||||
Result result;
|
||||
bool discretized{ false }, stratified{ false };
|
||||
|
Reference in New Issue
Block a user