plantcv icon indicating copy to clipboard operation
plantcv copied to clipboard

Add kmeans tutorial

Open k034b363 opened this issue 9 months ago • 3 comments

Describe your changes Adding a tutorial for doing kmeans cluster training, classification of a target image, and combining of clusters into binary masks.

Type of update

  • Update to documentation

For the reviewer See this page for instructions on how to review the pull request.

  • [ ] PR functionality reviewed in a Jupyter Notebook
  • [ ] All tests pass
  • [ ] Test coverage remains 100%
  • [ ] Documentation tested
  • [ ] New documentation pages added to plantcv/mkdocs.yml
  • [ ] Changes to function input/output signatures added to updating.md
  • [ ] Code reviewed
  • [ ] PR approved

k034b363 avatar May 02 '24 15:05 k034b363

Here's the code health analysis summary for commits 7091afc..68b201a. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Python LogoPython✅ SuccessView Check ↗
DeepSource Test coverage LogoTest coverage✅ SuccessView Check ↗

Code Coverage Report

MetricAggregatePython
Branch Coverage100%100%
Composite Coverage99.7%99.7%
Line Coverage99.7%99.7%

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

deepsource-io[bot] avatar May 02 '24 15:05 deepsource-io[bot]

Looks good! There was just one spot in cell 8 (I think) where it seems like the comment was unfinished:

# Then, once you have picked the clusters belonging to each category, give mask_kmeans a list:
# Remember, the

annacasto avatar May 02 '24 21:05 annacasto

Good catch, thank you! I fixed that comment.

k034b363 avatar May 02 '24 21:05 k034b363