mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Wrappers for load methods of EM, LR, SVMSGD and Normal Bayes Classifier
This commit is contained in:
@@ -127,6 +127,12 @@ Ptr<LogisticRegression> LogisticRegression::create()
|
||||
return makePtr<LogisticRegressionImpl>();
|
||||
}
|
||||
|
||||
Ptr<LogisticRegression> LogisticRegression::load(const String& filepath, const String& nodeName)
|
||||
{
|
||||
return Algorithm::load<LogisticRegression>(filepath, nodeName);
|
||||
}
|
||||
|
||||
|
||||
bool LogisticRegressionImpl::train(const Ptr<TrainData>& trainData, int)
|
||||
{
|
||||
// return value
|
||||
|
||||
Reference in New Issue
Block a user