diff --git a/Modules/Applications/AppClassification/app/otbTrainRegression.cxx b/Modules/Applications/AppClassification/app/otbTrainRegression.cxx index 41f7abcacfc411ae7fb878d8744b934af09885fb..6afb7b1374615e4ac194e6f97423aafce5223245 100644 --- a/Modules/Applications/AppClassification/app/otbTrainRegression.cxx +++ b/Modules/Applications/AppClassification/app/otbTrainRegression.cxx @@ -164,6 +164,12 @@ void DoInit() Superclass::DoInit(); AddRANDParameter(); + + // Doc example parameter settings + SetDocExampleParameterValue("io.il", "training_dataset.tif"); + SetDocExampleParameterValue("io.out", "regression_model.txt"); + SetDocExampleParameterValue("io.imstat", "training_statistics.xml"); + SetDocExampleParameterValue("classifier", "svm"); } void DoUpdateParameters() diff --git a/Modules/Applications/AppClassification/include/otbLearningApplicationBase.h b/Modules/Applications/AppClassification/include/otbLearningApplicationBase.h index b41a4e256aad229cc6342b20780c59256fb5d910..c744a9f9e3a469e398d940d551d7f00b633e7843 100644 --- a/Modules/Applications/AppClassification/include/otbLearningApplicationBase.h +++ b/Modules/Applications/AppClassification/include/otbLearningApplicationBase.h @@ -72,6 +72,8 @@ namespace Wrapper * * \sa TrainImagesClassifier * \sa TrainRegression + * + * \ingroup OTBAppClassification */ template <class TInputValue, class TOutputValue> class LearningApplicationBase: public Application