mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
This commit is contained in:
@@ -1613,6 +1613,7 @@ public:
|
||||
|
||||
bool train( const Ptr<TrainData>& data, int ) CV_OVERRIDE
|
||||
{
|
||||
CV_Assert(!data.empty());
|
||||
clear();
|
||||
|
||||
checkParams();
|
||||
@@ -1739,6 +1740,7 @@ public:
|
||||
ParamGrid nu_grid, ParamGrid coef_grid, ParamGrid degree_grid,
|
||||
bool balanced ) CV_OVERRIDE
|
||||
{
|
||||
CV_Assert(!data.empty());
|
||||
checkParams();
|
||||
|
||||
int svmType = params.svmType;
|
||||
|
||||
Reference in New Issue
Block a user