1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Merge pull request #27338 from omahs:patch-1

Fix typos #27338

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
This commit is contained in:
omahs
2025-05-21 11:13:50 +02:00
committed by GitHub
parent dc610867e1
commit 0bc95d9256
14 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ public:
@param filename The input file name
@param headerLineCount The number of lines in the beginning to skip; besides the header, the
function also skips empty lines and lines staring with `#`
function also skips empty lines and lines starting with `#`
@param responseStartIdx Index of the first output variable. If -1, the function considers the
last variable as the response
@param responseEndIdx Index of the last output variable + 1. If -1, then there is single
+1 -1
View File
@@ -256,7 +256,7 @@ CvGBTrees::train( const CvMat* _train_data, int _tflag,
// inside gbt learning process only regression decision trees are built
data->is_classifier = false;
// preproccessing sample indices
// preprocessing sample indices
if (_sample_idx)
{
int sample_idx_len = get_len(_sample_idx);