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

[FIX] MDS and Distances widges fix #1435

Merged
merged 3 commits into from
Jul 13, 2016

Conversation

ales-erjavec
Copy link
Contributor

  • Add more input data checks in MDS widget
  • Preserve selected metric in 'Distances' widget

The input data (if used as a source for distances) should have at
least 2 rows and at least one regular attribute.
Since ecf4e9a any time the input data
is received the selected metric would be reset (to "Cosine").

Instead of changing the set of presented metrics, only set/update their
enabled state.
Also reintroduce 'fixed' metrics ordering so that 'similar' metrics are
again grouped together.
@codecov-io
Copy link

Current coverage is 87.92%

Merging #1435 into master will not change coverage

@@             master      #1435   diff @@
==========================================
  Files            77         77          
  Lines          7584       7584          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           6668       6668          
  Misses          916        916          
  Partials          0          0          

Sunburst

Powered by Codecov. Last updated by c882fcd...77e586b

@BlazZupan
Copy link
Contributor

BlazZupan commented Jul 13, 2016

This nicely solves the problem of remembering the same distance metrics for the data in the same domain. I have tried this on dense data. Could somebody, say @nikicc, test on sparse data and then merge.

@nikicc
Copy link
Contributor

nikicc commented Jul 13, 2016

@BlazZupan I tested it on sparse and did not find any problems so I'm merging.

@nikicc nikicc merged commit 4a484f6 into biolab:master Jul 13, 2016
@ales-erjavec ales-erjavec deleted the mds-distances-fix branch July 14, 2016 17:01
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.

4 participants