Skip to content

Draft (new feature) : Model to estimate when a intervention had effect #480

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

Open
wants to merge 37 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
10a017e
New feature : Model to estimate when a intervention had effect
JeanVanDyk May 28, 2025
69d79b3
New feature : Model to estimate when a intervention had effect
JeanVanDyk May 28, 2025
bf4eaaa
Minor fix in docstring
JeanVanDyk May 29, 2025
3420c9a
Minor fix in docstring
JeanVanDyk May 29, 2025
3dc23b3
Minor fix in docstring
JeanVanDyk May 29, 2025
d739b4a
Minor fix in docstring
JeanVanDyk May 29, 2025
d48f0c3
Minor fix in docstring
JeanVanDyk May 29, 2025
14afe09
Minor fix in docstring
JeanVanDyk May 29, 2025
60357a5
Minor fix in docstring
JeanVanDyk May 29, 2025
7f57b13
Minor fix in docstring
JeanVanDyk May 29, 2025
2cb92fc
Minor fix in docstring
JeanVanDyk May 29, 2025
d9c06ac
Minor fix in docstring
JeanVanDyk May 29, 2025
52cc0fa
Minor fix in docstring
JeanVanDyk May 29, 2025
faf085b
Minor fix in docstring
JeanVanDyk May 29, 2025
cc9a1f4
Minor fix in docstring
JeanVanDyk May 29, 2025
dea9d6e
Minor fix in docstring
JeanVanDyk May 29, 2025
5e9cde6
fix : hiding progressbar
JeanVanDyk May 30, 2025
ee701f2
Enhancement : Adding the possibility for the user to indicate priors …
JeanVanDyk May 30, 2025
5ee3cb4
Minor fix in docstring
JeanVanDyk Jun 4, 2025
08c520c
updating example notebook
JeanVanDyk Jun 4, 2025
b1681da
updating example notebook
JeanVanDyk Jun 4, 2025
fcfd059
Supporting Date format and adding exceptions for model related issues
JeanVanDyk Jun 4, 2025
64c97b7
changing column index restriction to label restriction
JeanVanDyk Jun 5, 2025
2996331
codespell
JeanVanDyk Jun 17, 2025
1da80fd
resolved merge
JeanVanDyk Jun 17, 2025
020f679
fixing merging issues
JeanVanDyk Jun 18, 2025
5039fda
fixing merging issues
JeanVanDyk Jun 18, 2025
4761b7e
codespell
JeanVanDyk Jun 18, 2025
bec5cd8
codespell
JeanVanDyk Jun 18, 2025
2d4d158
updating notebook
JeanVanDyk Jun 19, 2025
8d607b8
updating notebook with examples and adding time_variable_name parameter
JeanVanDyk Jun 20, 2025
d00f828
Merge branch 'main' into pr/480
drbenvincent Jun 20, 2025
942a1d5
fixing example
JeanVanDyk Jun 20, 2025
4aef14b
revert changes in docs and fixing issues
JeanVanDyk Jun 20, 2025
2b2cbdf
Removing the overriding of fit and calculate_impact, adding a test an…
JeanVanDyk Jun 20, 2025
6769aa7
Using all samples for uncertainty
JeanVanDyk Jun 23, 2025
692d85c
uml and docs
JeanVanDyk Jun 24, 2025
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
7 changes: 7 additions & 0 deletions causalpy/custom_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@

def __init__(self, message: str):
self.message = message


class ModelException(Exception):
"""Exception raised given when there is some error in user-provided model"""

def __init__(self, message: str):
self.message = message

Check warning on line 46 in causalpy/custom_exceptions.py

View check run for this annotation

Codecov / codecov/patch

causalpy/custom_exceptions.py#L46

Added line #L46 was not covered by tests
Loading