mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
* export SVM::trainAuto to python #7224 * workaround for ABI compatibility of SVM::trainAuto * add parameter comments to new SVM::trainAuto function * Export ParamGrid member variables
This commit is contained in:
committed by
Vadim Pisarevsky
parent
1857aa22b3
commit
f70cc29edb
@@ -50,6 +50,10 @@ ParamGrid::ParamGrid(double _minVal, double _maxVal, double _logStep)
|
||||
logStep = std::max(_logStep, 1.);
|
||||
}
|
||||
|
||||
Ptr<ParamGrid> ParamGrid::create(double minval, double maxval, double logstep) {
|
||||
return makePtr<ParamGrid>(minval, maxval, logstep);
|
||||
}
|
||||
|
||||
bool StatModel::empty() const { return !isTrained(); }
|
||||
|
||||
int StatModel::getVarCount() const { return 0; }
|
||||
|
||||
Reference in New Issue
Block a user