Commit 7b6d249f authored by Cédric Traizet's avatar Cédric Traizet

ENH: added test for TrainImagesRegression

parent 793a88dc
Pipeline #1459 failed with stages
in 3 minutes and 4 seconds
......@@ -853,6 +853,24 @@ if(OTB_USE_OPENCV)
${TEMP}/apTvClTrainVectorRegressionModel.txt)
endif()
#----------- TrainImagesRegression TESTS ----------------
if(OTB_USE_OPENCV)
otb_test_application(NAME apTvClTrainImagesRegression
APP TrainImagesRegression
OPTIONS
-io.il ${INPUTDATA}/Classification/QB_1_ortho.tif?&bands=0,1,2
-io.ip ${INPUTDATA}/Classification/QB_1_ortho.tif?&bands=3
-io.vd ${INPUTDATA}/Classification/VectorData_QB1_utm31n.sqlite
-sample.nt 50
-classifier rf
-io.out ${TEMP}/apTvClTrainImagesRegressionModel.rf
-io.mse ${TEMP}/apTvClTrainImagesRegressionModel.txt
TESTENVOPTIONS ${TEMP}/apTvClTrainImagesRegressionModel.txt
VALID ${ascii_comparison}
${OTBAPP_BASELINE_FILES}/apTvClTrainImagesRegressionModel.txt
${TEMP}/apTvClTrainImagesRegressionModel.txt)
endif()
#----------- TrainVectorClassifier unsupervised TESTS ----------------
if(OTB_USE_SHARK)
otb_test_application(NAME apTvClTrainVectorUnsupervised
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment