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] Add an option to set intercept in linear regression to 0 #4958

Merged
merged 3 commits into from
Sep 18, 2020

Conversation

janezd
Copy link
Contributor

@janezd janezd commented Aug 27, 2020

Fixes #4954.

For polynomial regression in Educational add-on, I opened an issue there.

@@ -140,6 +147,7 @@ def __str__(self):

class PolynomialModel(Model):
def __init__(self, model, polyfeatures):
super().__init__()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change is suggested by lint but otherwise unrelated to the issue.

@codecov
Copy link

codecov bot commented Aug 27, 2020

Codecov Report

Merging #4958 into master will increase coverage by 0.16%.
The diff coverage is 88.23%.

@@            Coverage Diff             @@
##           master    #4958      +/-   ##
==========================================
+ Coverage   84.12%   84.28%   +0.16%     
==========================================
  Files         283      283              
  Lines       57819    58027     +208     
==========================================
+ Hits        48640    48909     +269     
+ Misses       9179     9118      -61     

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.

Force regression through origin (zero)
2 participants