Commit 95ac5ea9 authored by Jordi Inglada's avatar Jordi Inglada

ENH: prevent using the regression mode waiting for implementations

parent 4224d41f
......@@ -134,12 +134,6 @@ public:
itkGetObjectMacro(TargetListSample,TargetListSampleType);
//@}
/**\name Classification vs regression mode accessors */
//@{
itkSetMacro(RegressionMode,bool);
itkGetMacro(RegressionMode,bool);
//@}
protected:
/** Constructor */
MachineLearningModel();
......@@ -167,7 +161,7 @@ protected:
{
itkGenericExceptionMacro(<< "Regression mode not implemented.");
(void)input;
}
}
virtual TargetSampleType PredictClassification(const InputSampleType& input) const = 0;
......
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