MCPcopy Create free account
hub / github.com/audeering/opensmile / checkFtSelMap

Method checkFtSelMap

src/classifiers/svmSink.cpp:810–820  ·  view source on GitHub ↗

Checks the feature selection map for missing features, after it has been fully built.

Source from the content-addressed store, hash-verified

808// Checks the feature selection map for missing features,
809// after it has been fully built.
810int smileSvmModel::checkFtSelMap()
811{
812 for (int i = 0; i < vectorDim; i++) {
813 if (ftSelMap[i] == -1) {
814 SMILE_IERR(1, "The attribute # %i (%s) in the model file (%s) does not exist in the input data level to this component!", i, attributeNames[i], model);
815 return 0;
816 }
817 }
818 nFtSel = vectorDim;
819 return 1;
820}
821
822smileSvmModel::~smileSvmModel()
823{

Callers 1

myFinaliseInstanceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected