File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1919from causalpy .version import __version__
2020
2121from .data import load_data
22+ from .experiments .change_point_detection import ChangePointDetection
2223from .experiments .diff_in_diff import DifferenceInDifferences
2324from .experiments .instrumental_variable import InstrumentalVariable
2425from .experiments .interrupted_time_series import InterruptedTimeSeries
3334__all__ = [
3435 "__version__" ,
3536 "DifferenceInDifferences" ,
37+ "ChangePointDetection" ,
3638 "create_causalpy_compatible_class" ,
3739 "InstrumentalVariable" ,
3840 "InterruptedTimeSeries" ,
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ class ChangePointDetection(BaseExperiment):
128128 ... .set_index("date")
129129 ... )
130130 >>> seed = 42
131- >>> result = cp.experiments.change_point_detection. ChangePointDetection(
131+ >>> result = cp.ChangePointDetection(
132132 ... df,
133133 ... time_range=None,
134134 ... formula="y ~ 1 + t + C(month)",
You can’t perform that action at this time.
0 commit comments