From 98bca1ea895d8f54daa74e692e1ca6a9b9d1bbcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Traizet?= <cedric.traizet@c-s.fr> Date: Tue, 23 Apr 2019 15:13:39 +0200 Subject: [PATCH] ENH: changed flag to regression mode --- .../AppClassification/app/otbTrainVectorRegression.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Modules/Applications/AppClassification/app/otbTrainVectorRegression.cxx b/Modules/Applications/AppClassification/app/otbTrainVectorRegression.cxx index 52f7a9dd00..1bff521a03 100644 --- a/Modules/Applications/AppClassification/app/otbTrainVectorRegression.cxx +++ b/Modules/Applications/AppClassification/app/otbTrainVectorRegression.cxx @@ -41,6 +41,11 @@ public: typedef Superclass::TargetListSampleType TargetListSampleType; protected: + TrainVectorRegression() + { + this->m_RegressionFlag = true; + } + void DoInit() override { SetName( "TrainVectorRegression" ); -- GitLab