mirror of
https://github.com/dgirardeau/q3DMASC.git
synced 2026-08-29 16:40:49 +08:00
confusion matrix added to the training step
Add the confusion matrix to the training step Delete confusion matrices properly after the training step
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
//System
|
||||
#include <assert.h>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
static const int FeatureImportanceColumn = 1;
|
||||
|
||||
Train3DMASCDialog::Train3DMASCDialog(QWidget* parent/*=nullptr*/)
|
||||
@@ -184,3 +186,8 @@ void Train3DMASCDialog::onExportResults()
|
||||
stream << featureName << ";" << importance << Qt::endl;
|
||||
}
|
||||
}
|
||||
|
||||
void Train3DMASCDialog::deleteLaterConfusionMatrix(std::unique_ptr<ConfusionMatrix>& ptr)
|
||||
{
|
||||
m_confusionMatrixToDeleteLater.push_back(std::move(ptr));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user