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] ROC Analysis: color support for more than 9 evaluation learners #2394

Merged
merged 2 commits into from
Jun 23, 2017
Merged

[FIX] ROC Analysis: color support for more than 9 evaluation learners #2394

merged 2 commits into from
Jun 23, 2017

Conversation

jerneju
Copy link
Contributor

@jerneju jerneju commented Jun 9, 2017

Issue

screenshot_20170609_123758

Description of changes
Includes
  • Code changes
  • Tests
  • Documentation

@jerneju
Copy link
Contributor Author

jerneju commented Jun 9, 2017

@codecov-io
Copy link

codecov-io commented Jun 12, 2017

Codecov Report

Merging #2394 into master will increase coverage by 0.27%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2394      +/-   ##
==========================================
+ Coverage   73.88%   74.16%   +0.27%     
==========================================
  Files         322      322              
  Lines       55832    55941     +109     
==========================================
+ Hits        41250    41486     +236     
+ Misses      14582    14455     -127

@@ -448,8 +448,7 @@ def _initialize(self, results):
names = ["#{}".format(i + 1)
for i in range(len(results.predicted))]

self.colors = colorpalette.ColorPaletteGenerator(
len(names), colorbrewer.colorSchemes["qualitative"]["Dark2"])
self.colors = colorpalette.ColorPaletteGenerator(len(names))
Copy link
Contributor

Choose a reason for hiding this comment

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

The palette that we had before could have been chosen for a reason. It should be used if possible; switch to a more generic palette only if needed.

@janezd janezd merged commit 6a5f2f6 into biolab:master Jun 23, 2017
@jerneju jerneju deleted the index-rocanalysis branch June 26, 2017 07:25
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