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] Fitter: Change params uses default if None #2127

Merged

Conversation

pavlin-policar
Copy link
Collaborator

Issue

#2125 4

Includes
  • Code changes
  • Tests
  • Documentation

@pavlin-policar pavlin-policar changed the title Fitter: Change params uses default if None [FIX] Fitter: Change params uses default if None Mar 21, 2017
@pavlin-policar pavlin-policar force-pushed the fitter-change-kwargs-default-params branch from 414c29c to f6695ca Compare March 21, 2017 16:08
@codecov-io
Copy link

codecov-io commented Mar 21, 2017

Codecov Report

Merging #2127 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2127      +/-   ##
==========================================
- Coverage   71.49%   71.48%   -0.01%     
==========================================
  Files         318      318              
  Lines       54414    54405       -9     
==========================================
- Hits        38902    38894       -8     
+ Misses      15512    15511       -1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fd6b609...417e550. Read the comment docs.

hasattr(self.get_learner(self.REGRESSION), 'supports_weights')
and self.get_learner(self.REGRESSION).supports_weights)
and self.get_learner(self.REGRESSION).supports_weights
Copy link
Contributor

Choose a reason for hiding this comment

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

getattr(self.get_learner(self.CLASSIFICATION), 'supports_weights', False) and
getattr(self.get_learner(self.REGRESSION), 'supports_weights', False)

@pavlin-policar pavlin-policar force-pushed the fitter-change-kwargs-default-params branch from 5bb6c1c to 417e550 Compare March 22, 2017 12:41
@janezd janezd merged commit 1fc9cd8 into biolab:master Mar 27, 2017
@pavlin-policar pavlin-policar deleted the fitter-change-kwargs-default-params branch March 28, 2017 07:15
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