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] OWManifold: support t-SNE on sparse #2281

Merged
merged 2 commits into from
May 17, 2017

Conversation

kernc
Copy link
Contributor

@kernc kernc commented May 5, 2017

Issue

Fixes #2158

Description of changes

Support sparse with method=t-SNE and tweaked params.

Includes
  • Code changes
  • Tests
  • Documentation

@ajdapretnar
Copy link
Contributor

This is good, but I get errors upon selecting Jaccard, Chebyshev and Mahalanobis distances. Could we:

  • disable/gray out unavailable methods for sparse (not so urgent since we have the error message, but would be nice)
  • disable error-inducing distance measures (quite urgent)

Everything else seems to work fine.

@kernc kernc force-pushed the owmanifold-sparse branch 3 times, most recently from 69d7893 to 44cbd05 Compare May 5, 2017 10:48
@codecov-io
Copy link

codecov-io commented May 5, 2017

Codecov Report

Merging #2281 into master will increase coverage by 0.04%.
The diff coverage is 84%.

@@            Coverage Diff             @@
##           master    #2281      +/-   ##
==========================================
+ Coverage    73.2%   73.24%   +0.04%     
==========================================
  Files         316      316              
  Lines       55289    55301      +12     
==========================================
+ Hits        40475    40507      +32     
+ Misses      14814    14794      -20

@kernc
Copy link
Contributor Author

kernc commented May 5, 2017

Now errors on invalid distance.

@astaric How do I accommodate radon?

@kernc kernc force-pushed the owmanifold-sparse branch 2 times, most recently from 540bcd4 to 187953e Compare May 12, 2017 12:33
Copy link
Contributor

@nikicc nikicc left a comment

Choose a reason for hiding this comment

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

Looks good to me. Since this is adding adding functionality can we merge despite radon issues?

self.send_signal("Data", data)
self.widget.apply_button.button.click()
self.assertTrue(self.widget.Error.sparse_not_supported.is_shown())
self.widget.apply()
Copy link
Contributor

Choose a reason for hiding this comment

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

Why we need this apply? Doesn't the above line do that?

@nikicc nikicc merged commit 291642a into biolab:master May 17, 2017
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