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

[ENH] OWHierarchicalClustering: Use selection indices for selection restore #3282

Merged
merged 3 commits into from
Nov 28, 2018

Conversation

ales-erjavec
Copy link
Contributor

Issue

References gh-1563
Applies on top of gh-3249

Description of changes
  • Use selection indices to store selection
  • Store and validate the linkage matrix along with the selection, allow small differences in heights due to inexact FP math, (e.g. euclidean distances are not exactly equal when numpy is linked with different BLAS implementations).
Includes
  • Code changes
  • Tests
  • Documentation

@codecov-io
Copy link

codecov-io commented Oct 4, 2018

Codecov Report

Merging #3282 into master will increase coverage by 0.01%.
The diff coverage is 92.92%.

@@            Coverage Diff             @@
##           master    #3282      +/-   ##
==========================================
+ Coverage   82.32%   82.34%   +0.01%     
==========================================
  Files         360      360              
  Lines       64096    64193      +97     
==========================================
+ Hits        52767    52857      +90     
- Misses      11329    11336       +7

@ales-erjavec ales-erjavec force-pushed the fixes/hierarchical_selection branch 2 times, most recently from 0df0f1a to cc2e253 Compare October 4, 2018 09:50
@lanzagar lanzagar added this to the 3.18 milestone Oct 26, 2018
@lanzagar lanzagar modified the milestones: 3.18, 3.19 Nov 13, 2018
@janezd janezd assigned janezd and VesnaT and unassigned janezd Nov 23, 2018
@VesnaT
Copy link
Contributor

VesnaT commented Nov 23, 2018

Can you please rebase?

robertcv and others added 3 commits November 23, 2018 12:50
Change selection serialization and add dendrogram structure validation
on restore. I.e. only restore if the linkage matrix matches (small
leeway for inexact FP math is allowed).
@VesnaT VesnaT merged commit ba2eb02 into biolab:master Nov 28, 2018
@ales-erjavec ales-erjavec deleted the fixes/hierarchical_selection branch May 20, 2019 11:31
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.

6 participants