pair<bool, double> RvmClassifier::getConfidence(const Mat& featureVector) const {
	pair<int, double> levelAndDistance = computeHyperplaneDistance(featureVector);
	if (classify(levelAndDistance))
		return make_pair(true, levelAndDistance.second);
	else
		return make_pair(false, -levelAndDistance.second);
}
bool RvmClassifier::classify(const Mat& featureVector) const {
	return classify(computeHyperplaneDistance(featureVector));
}
pair<bool, double> RvmClassifier::getConfidence(const Mat& featureVector) const {
	return getConfidence(computeHyperplaneDistance(featureVector));

}