|
@@ -6,7 +6,7 @@
|
|
|
#include "core/basics/StringTools.h"
|
|
|
#include "core/basics/Timer.h"
|
|
|
|
|
|
-#include "gp-hik-exp/GPHIKClassifierNICE.h"
|
|
|
+#include <vislearning/classifier/fpclassifier/gphik/FPCGPHIK.h>
|
|
|
#include "vislearning/baselib/ICETools.h"
|
|
|
#include "vislearning/baselib/Globals.h"
|
|
|
#include "vislearning/features/fpfeatures/SparseVectorFeature.h"
|
|
@@ -218,7 +218,7 @@ void SemSegNovelty::initFromConfig(const Config* conf, const string _confSection
|
|
|
//this would just take a lot of time, which is not desired so far
|
|
|
//TODO edit this!
|
|
|
//this->conf->sB( "GPHIKClassifier", "performOptimizationAfterIncrement", false );
|
|
|
- classifier = new GPHIKClassifierNICE ( conf, "GPHIKClassifier" );
|
|
|
+ classifier = new FPCGPHIK ( conf, "GPHIKClassifier" );
|
|
|
}
|
|
|
else
|
|
|
vclassifier = GenericClassifierSelection::selectVecClassifier ( conf, classifierString );
|
|
@@ -1493,7 +1493,7 @@ void SemSegNovelty::addNewExample(const NICE::Vector& v_newExample, const int &
|
|
|
Example newExample;
|
|
|
SparseVector svec ( v_newExample );
|
|
|
newExample.svec = &svec;
|
|
|
- static_cast<GPHIKClassifierNICE*>(classifier)->addExample ( newExample, newClassNo );
|
|
|
+ static_cast<FPCGPHIK*>(classifier)->addExample ( newExample, newClassNo );
|
|
|
}
|
|
|
}
|
|
|
else //vclassifier
|
|
@@ -1752,7 +1752,7 @@ void SemSegNovelty::restore ( std::istream & is, int format )
|
|
|
else
|
|
|
{
|
|
|
if ( classifier == NULL )
|
|
|
- classifier = new OBJREC::GPHIKClassifierNICE();
|
|
|
+ classifier = new OBJREC::FPCGPHIK();
|
|
|
|
|
|
classifier->restore(is, format);
|
|
|
}
|