closes #2181 (closed)
when using OpenCV >= 3 in OTB, the KNN machine learning model writes the number of neighbors that should be used in the training step, but this number is not read back when loading the model. As a consequence, the default number of neighbor (32) is always used.
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging:
- All discussions are resolved
- At least 2
👍votes from core developers, no 👎vote.
- The feature branch is (reasonably) up-to-date with the base branch
- Dashboard is green
- Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
- Optionally, run
git diff develop... -U0 --no-color | clang-format-diff.py -p1 -ion latest changes and commit