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] GLMRegressor using statsmodels GLM with gaussian link #222

Merged
merged 29 commits into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b9a6343
added class name
julian-fong Mar 23, 2024
bebe835
updates
julian-fong Mar 23, 2024
63a4684
wrote docstring
julian-fong Mar 24, 2024
2e89bb2
implemented init, fit and predict
julian-fong Mar 24, 2024
905386a
implemented _predict_proba, fixed bugs
julian-fong Mar 24, 2024
f423be5
made changes as per 222
julian-fong Mar 25, 2024
5700e29
added parameter for intercept and implemented get_test_params
julian-fong Mar 25, 2024
cefb3db
minor change
julian-fong Mar 25, 2024
1ecda58
updated docstring, fixed issues
julian-fong Mar 26, 2024
cac37ee
updated docstring, minor fixes
julian-fong Mar 26, 2024
a51cc5e
removed family parameter as we are only using the Gaussian link
julian-fong Mar 26, 2024
34c94af
_Table
fkiraly Mar 28, 2024
97af171
moved a couple imports to methods
julian-fong Mar 28, 2024
7952454
moved Gaussian import to after super call
julian-fong Mar 28, 2024
893936c
added GaussianRegressor to linear
julian-fong Mar 28, 2024
85fb334
added GaussianRegressor to api_ref in docs under Linear regression
julian-fong Mar 28, 2024
7648905
renamed from GaussianRegressor to GLMRegressor
julian-fong Mar 29, 2024
c95fec1
fixed python_dependencies to include statsmodels
julian-fong Mar 29, 2024
2a54fa2
removed some params, fixed overwriting for family param in __init__
julian-fong Mar 29, 2024
a60cfb5
fixed bugs with _predict_proba
julian-fong Mar 29, 2024
48be681
fixed bug
julian-fong Mar 30, 2024
52ea9bf
update test set params
julian-fong Mar 30, 2024
8c2e1d4
wrote code to automatically append const column on inf methods if add…
julian-fong Mar 30, 2024
05eb9d2
minor code change
julian-fong Mar 30, 2024
d2e6dc6
improved readability of code, moved if statement into _prep_x
julian-fong Mar 30, 2024
813929e
Merge branch 'main' into pr/222
fkiraly Mar 31, 2024
b689a78
Merge branch 'add_gaussian_regressor' of https://github.com/julian-fo…
fkiraly Mar 31, 2024
e6dff2c
removed params
fkiraly Mar 31, 2024
0bd6f6f
Update _glm.py
fkiraly Mar 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/source/api_reference/regression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ Linear regression

ARDRegression
BayesianRidge
GLMRegressor

Gaussian process and kernel regression
--------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions skpro/regression/linear/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
"""Linear regression models."""
# copyright: skpro developers, BSD-3-Clause License (see LICENSE file)

from skpro.regression.linear._glm import GLMRegressor
from skpro.regression.linear._sklearn import ARDRegression, BayesianRidge

__all__ = [
"ARDRegression",
"BayesianRidge",
"GLMRegressor",
]
Loading
Loading