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] Creating a new Bayesian Regressor with PyMC as a backend #358

Open
wants to merge 48 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
8bfa908
Added pymc as an optional dependency in pyproject.toml
May 22, 2024
4634059
Added WIP Bayesian Linear Regression code and notebook
meraldoantonio May 23, 2024
be4d12a
Added comments
meraldoantonio May 23, 2024
054a7df
Changed MutableData to Data
meraldoantonio May 24, 2024
eb54e18
Fixed typo in pyproject.toml
meraldoantonio May 31, 2024
eebfb67
BayesianLinearRegressor fitted to skpro template, fit and predict work
meraldoantonio Jun 6, 2024
2bacfa0
Finished predict_proba method in BayesianLinearRegressor
meraldoantonio Jun 6, 2024
1a373ea
Fixed indexing bugs
meraldoantonio Jun 6, 2024
3f02932
Deleted template comments
meraldoantonio Jun 6, 2024
4b7cca4
Added an example in the docstring
meraldoantonio Jun 6, 2024
b0f89c4
Added a visualize_model method
meraldoantonio Jun 6, 2024
41857d1
Added mutability=True in pm.Data
meraldoantonio Jun 6, 2024
a3b4c64
Pinned the version of pymc in pyproject.toml to 5.15.0 (earlier versi…
meraldoantonio Jun 6, 2024
bea9481
Removed mutable=True in pm.Data which is to be deprecated
meraldoantonio Jun 6, 2024
0016acf
Added get_prior method
meraldoantonio Jun 6, 2024
c43f836
Added get posterior method
meraldoantonio Jun 6, 2024
e4d0933
Added methods to return prior and posterior summary statistics
meraldoantonio Jun 6, 2024
a150c5c
Added plot_ppc method
meraldoantonio Jun 6, 2024
b0b4bd1
Deleted old sample notebook
meraldoantonio Jun 6, 2024
45698aa
Added example notebook
meraldoantonio Jun 6, 2024
63968db
Updated experiment to also look into posterior predictive
Jun 13, 2024
ca0621d
Formatting
Jun 13, 2024
a511765
Merge remote-tracking branch 'upstream/main' into pymc_dev
Jun 27, 2024
d1521fb
Changed the prior for variance to inverse gamma for consisntency with…
Jun 27, 2024
6c42e5f
Formatting
Jun 27, 2024
0bb0757
Merge remote-tracking branch 'upstream/main' into pymc_dev
Aug 29, 2024
058257c
Used pymc-marketing prior class, streamlined sampling
Aug 29, 2024
ab3bb70
Modified the notebook to fit with the reworked class
Aug 29, 2024
050322f
Updated sampling and notebook
Aug 30, 2024
83dc8f7
removed bayesian.py
Aug 30, 2024
f780155
Renamed module
Aug 30, 2024
c58d437
Added self as contributor
Aug 30, 2024
e1dd494
unlocked pymc version
Aug 30, 2024
8b4f92a
Updated notebook for multiple predictors and prior elicitation
Sep 27, 2024
5a03d3e
Allowed multivariate regression and re-training
Sep 27, 2024
663b8e0
Removed notebook from this branch and pull request
Oct 4, 2024
89c0f6d
Removed the dictionary piping syntax and python 3.10 requirements
Oct 4, 2024
55249f4
Removed the dictionary piping syntax and python 3.10 requirements
Oct 4, 2024
434f086
Commented out graphviz visualization fucntion
Oct 5, 2024
5c886b1
Locked Arviz version
Oct 5, 2024
b4a2e4a
Downgraded scipy version
Oct 5, 2024
21102b2
modified scipy version to 1.12 in project toml due to arviz bug
Oct 5, 2024
0b3408d
Uncommented visualize model
Oct 5, 2024
535ca75
Removed scipy lock from pyproject toml and added to BayesianLienarReg…
Oct 6, 2024
a3aea79
Locked Python and Arviz version
Oct 8, 2024
fd4d5fd
Added default value of None to prior_config and sampler_config
Oct 9, 2024
1f0402e
Merged main, resolved conflict
Oct 10, 2024
b7f27aa
Locked python version for pymc
Oct 10, 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
10 changes: 10 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,16 @@
"maintenance"
]
},
{
"login": "meraldoantonio",
"name": "Meraldo Antonio",
"avatar_url": "https://avatars.githubusercontent.com/u/37468543?v=4",
"profile": "https://github.com/meraldoantonio",
"contributions": [
"code",
"doc"
]
},
{
"login": "szepeviktor",
"name": "Viktor Szépe",
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ all_extras = [
"pyarrow<14.0.0; python_version < '3.12'",
"scikit-survival<0.24.0; python_version < '3.13'",
"statsmodels>=0.12.1",
"tabulate",
"uncertainties",
"pymc; python_version < '3.13'",
]

dev = [
Expand Down
Loading
Loading