Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fuzzycmeans() enhancements #265

Merged
merged 5 commits into from
Dec 19, 2023
Merged

fuzzycmeans() enhancements #265

merged 5 commits into from
Dec 19, 2023

Conversation

alyst
Copy link
Member

@alyst alyst commented Dec 19, 2023

  • allow dist_metric::SemiMetric
  • skip tolerance check for the 1st iteration (prev_centers are initialized to all zeroes, so it is not relevant to compare, and some metrics (e.g. CorrDist) are NaN in this case)
  • more informative error message if display= is specified incorrectly
  • tweak fuzzycmeans() docs

@codecov-commenter
Copy link

codecov-commenter commented Dec 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (83adafa) 95.07% compared to head (b893436) 95.14%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #265      +/-   ##
==========================================
+ Coverage   95.07%   95.14%   +0.07%     
==========================================
  Files          19       19              
  Lines        1401     1402       +1     
==========================================
+ Hits         1332     1334       +2     
+ Misses         69       68       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Alexey Stukalov added 5 commits December 18, 2023 19:26
show the valid display options
also relax other arg types
use Julia Logging for final convergence report
as prev_centers are not relevant
@alyst alyst merged commit a3f68d6 into master Dec 19, 2023
7 checks passed
@alyst alyst deleted the enh_fuzzy branch December 19, 2023 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants