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] Fix pythagoras tree tooltip for regression trees #1660

Merged
merged 2 commits into from
Oct 13, 2016

Conversation

pavlin-policar
Copy link
Collaborator

Fix pythagoras tree widget tooltip for regression trees and improve the main function for easier debugging.

The tooltip originally tried to emulate the classification one where the samples are written like this:

# samples in majority class / # samples in node

Obviously this can't be emulated in a regression problem, but I missed this problem. This fix changes the tooltip to simply shows the # of samples in the node, which makes more sense.

@codecov-io
Copy link

codecov-io commented Oct 13, 2016

Current coverage is 88.73% (diff: 100%)

Merging #1660 into master will not change coverage

@@             master      #1660   diff @@
==========================================
  Files            78         78          
  Lines          8150       8150          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           7232       7232          
  Misses          918        918          
  Partials          0          0          

Sunburst

Powered by Codecov. Last update 282b1b0...5dad53c

@janezd janezd merged commit 74c1ee6 into biolab:master Oct 13, 2016
@pavlin-policar pavlin-policar deleted the fix-pythagora-tooltip branch October 14, 2016 07:31
@astaric astaric modified the milestone: 3.3.9 Nov 28, 2016
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