mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
Wrappers for load methods of EM, LR, SVMSGD and Normal Bayes Classifier
This commit is contained in:
@@ -134,6 +134,12 @@ Ptr<SVMSGD> SVMSGD::create()
|
||||
return makePtr<SVMSGDImpl>();
|
||||
}
|
||||
|
||||
Ptr<SVMSGD> SVMSGD::load(const String& filepath, const String& nodeName)
|
||||
{
|
||||
return Algorithm::load<SVMSGD>(filepath, nodeName);
|
||||
}
|
||||
|
||||
|
||||
void SVMSGDImpl::normalizeSamples(Mat &samples, Mat &average, float &multiplier)
|
||||
{
|
||||
int featuresCount = samples.cols;
|
||||
|
||||
Reference in New Issue
Block a user