Skip to content

Revise and expand kNN Python tutorials#17313

Merged
alalek merged 2 commits intoopencv:3.4from
hunter-college-ossd-spr-2020:revise-knn-tutorials
May 18, 2020
Merged

Revise and expand kNN Python tutorials#17313
alalek merged 2 commits intoopencv:3.4from
hunter-college-ossd-spr-2020:revise-knn-tutorials

Conversation

@dmallia17
Copy link
Copy Markdown
Contributor

This pull request covers a number of revisions and small additions to the kNN tutorials for OpenCV-Python. I would be very happy to do the same for the other Python ML tutorials!

Please note that I am not sure why some sentences were split across multiple lines. While it does not seem to reflect on Github, this can be seen by viewing the original unaltered files (and other ML tutorials) in VSCode and Vim.

Pull Request Readiness Checklist

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

  • I agree to contribute to the project under OpenCV (BSD) License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or other license that is incompatible with OpenCV
  • The PR is proposed to proper branch
  • There is reference to 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

@dmallia17
Copy link
Copy Markdown
Contributor Author

Just committed again to correct the broken NPTEL link I had missed earlier. I can, of course, squash the commits if approved, but was not sure if this had already been seen and wanted to make the additional change clear.

@alalek
Copy link
Copy Markdown
Member

alalek commented May 18, 2020

why some sentences were split across multiple lines.

It is better to avoid starting a new large sentence in the middle of the line.
Start them from the beginning.
There is no problem to split sentence on multiple lines.
Limit number of symbols to 100-120 per line.

Markdown format merges lines into a single paragraph (empty dedicated line is required to start new paragraph).

Copy link
Copy Markdown
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thank you 👍

@alalek alalek merged commit 07c56f1 into opencv:3.4 May 18, 2020
@dmallia17
Copy link
Copy Markdown
Contributor Author

@alalek Ah that makes sense - thank you very much for the explanation and for accepting the pr!

@alalek alalek mentioned this pull request May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants