diff --git a/Modules/Applications/AppClassification/app/otbTrainVectorClassifier.cxx b/Modules/Applications/AppClassification/app/otbTrainVectorClassifier.cxx index 8dac6b78b9cecb9f5a321867388e4a25bea43884..30e399a84c79bf9b14ab54dcfc0a110c4d2ec2b3 100644 --- a/Modules/Applications/AppClassification/app/otbTrainVectorClassifier.cxx +++ b/Modules/Applications/AppClassification/app/otbTrainVectorClassifier.cxx @@ -99,6 +99,10 @@ private: ContigencyTableCalcutaltorType::Pointer contingencyTableCalculator = ContigencyTableCalcutaltorType::New(); contingencyTableCalculator->Compute(performanceLabeledListSample->Begin(), performanceLabeledListSample->End(),predictedListSample->Begin(), predictedListSample->End()); + + otbAppLogINFO( "Training performances:" ); + + otbAppLogINFO(<<"Contingency table: reference labels (rows) vs. produced labels (cols)\n"<<contingencyTableCalculator->GetContingencyTable()); return contingencyTableCalculator->GetContingencyTable(); } @@ -128,7 +132,7 @@ private: confMatCalc->SetProducedLabels( predictedListSample ); confMatCalc->Compute(); - otbAppLogINFO( "training performances" ); + otbAppLogINFO( "Training performances:" ); LogConfusionMatrix( confMatCalc ); for( unsigned int itClasses = 0; itClasses < confMatCalc->GetNumberOfClasses(); itClasses++ )