Skip to content
Snippets Groups Projects
Commit e89a91b2 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

BUG: remove kmeans from regression algorithms

parent 91430a7f
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,10 @@ LearningApplicationBase<TInputValue,TOutputValue>
::InitUnsupervisedClassifierParams()
{
#ifdef OTB_USE_SHARK
InitSharkKMeansParams();
if (!m_RegressionFlag)
{
InitSharkKMeansParams(); // Regression not supported
}
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment