From a9cf7dc83cc2c65a1b0b996febfa494d4c3e6470 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Traizet?= <cedric.traizet@c-s.fr> Date: Thu, 23 May 2019 16:13:54 +0200 Subject: [PATCH] ENH: update tests and baseline for training set split --- .../OTB-Applications/Files/apTvClTrainImagesRegressionNoVD.txt | 2 +- Modules/Applications/AppClassification/test/CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Data/Baseline/OTB-Applications/Files/apTvClTrainImagesRegressionNoVD.txt b/Data/Baseline/OTB-Applications/Files/apTvClTrainImagesRegressionNoVD.txt index 1d7e678a71..2e9eaa4963 100644 --- a/Data/Baseline/OTB-Applications/Files/apTvClTrainImagesRegressionNoVD.txt +++ b/Data/Baseline/OTB-Applications/Files/apTvClTrainImagesRegressionNoVD.txt @@ -1 +1 @@ -io.mse: 241.0461426 +io.mse: 905.6768188 diff --git a/Modules/Applications/AppClassification/test/CMakeLists.txt b/Modules/Applications/AppClassification/test/CMakeLists.txt index c7fb78befd..607867c193 100644 --- a/Modules/Applications/AppClassification/test/CMakeLists.txt +++ b/Modules/Applications/AppClassification/test/CMakeLists.txt @@ -862,6 +862,7 @@ if(OTB_USE_OPENCV) -io.ip ${INPUTDATA}/Classification/QB_1_ortho.tif?&bands=3 -io.vd ${INPUTDATA}/Classification/VectorData_QB1_utm31n.sqlite -sample.nt 50 + -sample.ratio 0 -classifier rf -io.out ${TEMP}/apTvClTrainImagesRegressionModel.rf -io.mse ${TEMP}/apTvClTrainImagesRegressionModel.txt @@ -878,6 +879,7 @@ if(OTB_USE_OPENCV) -io.il ${INPUTDATA}/Classification/QB_1_ortho.tif?&bands=0,1,2 -io.ip ${INPUTDATA}/Classification/QB_1_ortho.tif?&bands=3 -sample.nt 50 + -sample.ratio 0.5 -classifier rf -io.out ${TEMP}/apTvClTrainImagesRegressionNoVD.rf -io.mse ${TEMP}/apTvClTrainImagesRegressionNoVD.txt -- GitLab