removed many extra whitespaces; fixed 1 warning

pull/3032/head
Vadim Pisarevsky 11 years ago
parent 28ca6ac05e
commit 2520e335d1
  1. 1
      modules/ml/doc/random_trees.rst
  2. 2
      modules/ml/src/data.cpp
  3. 1
      modules/ml/src/gbt.cpp

@ -101,4 +101,3 @@ Returns the variable importance array.
.. ocv:function:: Mat RTrees::getVarImportance() const
The method returns the variable importance vector, computed at the training stage when ``RTParams::calcVarImportance`` is set to true. If this flag was set to false, the empty matrix is returned.

@ -750,7 +750,7 @@ public:
void setTrainTestSplit(int count, bool shuffle)
{
int i, nsamples = getNSamples();
CV_Assert( 0 <= count < nsamples );
CV_Assert( 0 <= count && count < nsamples );
trainSampleIdx.release();
testSampleIdx.release();

@ -1363,4 +1363,3 @@ float CvGBTrees::predict( const cv::Mat& sample, const cv::Mat& _missing,
}
#endif

Loading…
Cancel
Save