removed many extra whitespaces; fixed 1 warning
This commit is contained in:
parent
28ca6ac05e
commit
2520e335d1
@ -101,4 +101,3 @@ Returns the variable importance array.
|
|||||||
.. ocv:function:: Mat RTrees::getVarImportance() const
|
.. 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.
|
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)
|
void setTrainTestSplit(int count, bool shuffle)
|
||||||
{
|
{
|
||||||
int i, nsamples = getNSamples();
|
int i, nsamples = getNSamples();
|
||||||
CV_Assert( 0 <= count < nsamples );
|
CV_Assert( 0 <= count && count < nsamples );
|
||||||
|
|
||||||
trainSampleIdx.release();
|
trainSampleIdx.release();
|
||||||
testSampleIdx.release();
|
testSampleIdx.release();
|
||||||
|
@ -1363,4 +1363,3 @@ float CvGBTrees::predict( const cv::Mat& sample, const cv::Mat& _missing,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user