Removed trailing whitespaces
This commit is contained in:
@@ -140,7 +140,7 @@ private:
|
||||
};
|
||||
|
||||
Ptr<SVMSGD> SVMSGD::create()
|
||||
{
|
||||
{
|
||||
return makePtr<SVMSGDImpl>();
|
||||
}
|
||||
|
||||
@@ -265,7 +265,7 @@ bool SVMSGDImpl::train(const Ptr<TrainData>& data, int)
|
||||
weights_ = Mat::zeros(1, featureCount, CV_32F);
|
||||
shift_ = areEmpty.first ? -1 : 1;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Mat extendedTrainSamples;
|
||||
Mat average;
|
||||
|
@@ -335,4 +335,3 @@ TEST(ML_SVMSGD, twoPoints)
|
||||
foundShift /= normFoundWeights;
|
||||
CV_Assert((norm(foundWeights - realWeights) < 0.001) && (abs((foundShift - realShift) / realShift) < 0.05));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user