Remove second stage classifier: obsolete with trace splitting
This commit is contained in:
parent
f89f4bd20b
commit
7ee8776165
@ -89,12 +89,6 @@ template <class DataFacadeT> class MapMatchingPlugin : public BasePlugin
|
|||||||
|
|
||||||
const auto label_with_confidence = classifier.classify(distance_feature);
|
const auto label_with_confidence = classifier.classify(distance_feature);
|
||||||
|
|
||||||
// "second stage classifier": if we need to remove points there is something fishy
|
|
||||||
if (removed_points > 0)
|
|
||||||
{
|
|
||||||
return std::make_pair(ClassifierT::ClassLabel::NEGATIVE, 1.0);
|
|
||||||
}
|
|
||||||
|
|
||||||
return label_with_confidence;
|
return label_with_confidence;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user