Skip to content

[ENH] Add an option to set intercept in linear regression to 0#4958

Merged
markotoplak merged 3 commits intobiolab:masterfrom
janezd:linear-regression-no-intercept
Sep 18, 2020
Merged

[ENH] Add an option to set intercept in linear regression to 0#4958
markotoplak merged 3 commits intobiolab:masterfrom
janezd:linear-regression-no-intercept

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.


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