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] Bayesian Linear Regression using Normal Conjugate Prior #500

Open
wants to merge 36 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
9589ef8
Initialized bayesian conjugate class
Nov 21, 2024
2d58430
Added docstring example
Nov 21, 2024
08ae9d8
Added BayesianConjugateLinearRegressor
Nov 21, 2024
153f561
Changed parameterization
Nov 21, 2024
de68ef5
Removed dependency
Nov 21, 2024
fc3baac
added init
Nov 21, 2024
419f0c7
Changed test
Nov 22, 2024
82a8c75
Changed test
Nov 22, 2024
c3e6c56
Changed test
Nov 22, 2024
17d8e6a
Removed numpy array conversion in init
Nov 22, 2024
fc07dd9
Only allows initialization using Normal distribution from skpro
Nov 22, 2024
f35d064
Naming changes
Nov 22, 2024
87ca46a
Changed the shape of the test samples
Nov 22, 2024
ed5f81f
Changed the initiation process to numpy
Nov 22, 2024
ab59af2
Reworked logic
Nov 22, 2024
df7d0bb
Reworked recentering logic
Nov 22, 2024
cdb46b9
Make y_pred a series
Nov 22, 2024
4bae2f3
Only infer num_features during fit
Nov 22, 2024
d765033
Change col names
Nov 22, 2024
270be35
Change col names
Nov 22, 2024
fdd246f
Change col names
Nov 22, 2024
fb9f8db
Change col names
Nov 22, 2024
6439dc9
added second test param
Nov 22, 2024
9801221
changed update logic
Nov 22, 2024
8d2bb57
changed update logic
Nov 22, 2024
5e8c069
Remove centering
Nov 22, 2024
86b3aa0
Added example notebook
Nov 22, 2024
b20a255
Clarified that Normal doesn't result in multivariate normal
Nov 22, 2024
dc6cc54
removed kernelspec
Nov 22, 2024
f9a942f
reverted changes to 03_ example notebook
Dec 6, 2024
f32f887
formatting
Dec 6, 2024
4e998df
restructured example folder
Dec 6, 2024
d6342b9
Renamed notebook for consistency with the name of estimator
Dec 6, 2024
dddaa6c
Added line on BayesianMCMCLinearRegressor
Dec 6, 2024
9807a93
Renamed subfolder to abyesian
Dec 6, 2024
4ee08e6
Changed estimator name removed MCMC
Dec 6, 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
11 changes: 11 additions & 0 deletions docs/source/api_reference/regression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,14 @@ Base classes
:template: class.rst

BaseProbaRegressor

Bayesian
------------
Copy link
Collaborator

Choose a reason for hiding this comment

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

underline should be as long as the header. I would also put it in a single section with the other regressor.


.. currentmodule:: skpro.regression.bayesian.bayesian_conjugate
Copy link
Collaborator

Choose a reason for hiding this comment

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

the BayesianLinearRegressor is in another folder, so will not show up here.


.. autosummary::
:toctree: auto_generated/
:template: class.rst

BayesianConjugateLinearRegressor
1,939 changes: 148 additions & 1,791 deletions examples/03_skpro_distributions.ipynb

Large diffs are not rendered by default.

Loading
Loading