File tree Expand file tree Collapse file tree 5 files changed +24
-6
lines changed Expand file tree Collapse file tree 5 files changed +24
-6
lines changed Original file line number Diff line number Diff line change 1010 paths :
1111 - " pymc_marketing/**"
1212
13+ permissions : write-all
14+
1315jobs :
1416 build :
1517 runs-on : ubuntu-latest
3941 if git diff --staged --exit-code; then
4042 echo "No changes to commit"
4143 else
44+ echo "Committing the changes"
4245 git commit -m "Update UML Diagrams"
43- git push
46+ git push origin HEAD:${GITHUB_HEAD_REF}
4447 fi
48+ env :
49+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ dependencies:
1212- pandas
1313- streamlit>=1.25.0
1414- pip
15+ - pydantic
16+ - preliz
1517# NOTE: Keep minimum pymc version in sync with ci.yml `OLDEST_PYMC_VERSION`
1618- pymc>=5.12.0,<5.16.0
1719- scikit-learn>=1.1.1
@@ -41,3 +43,4 @@ dependencies:
4143- lifetimes==0.11.3
4244- pytest==7.0.1
4345- pytest-cov==3.0.0
46+ - pytest-mock
Original file line number Diff line number Diff line change 2020 WeibullAdstock ,
2121 WeibullCDFAdstock ,
2222 WeibullPDFAdstock ,
23+ adstock_from_dict ,
24+ register_adstock_transformation ,
2325)
2426from pymc_marketing .mmm .components .saturation import (
2527 HillSaturation ,
3032 SaturationTransformation ,
3133 TanhSaturation ,
3234 TanhSaturationBaselined ,
35+ register_saturation_transformation ,
36+ saturation_from_dict ,
3337)
3438from pymc_marketing .mmm .delayed_saturated_mmm import MMM , DelayedSaturatedMMM
3539from pymc_marketing .mmm .fourier import MonthlyFourier , YearlyFourier
5660 "SaturationTransformation" ,
5761 "TanhSaturation" ,
5862 "TanhSaturationBaselined" ,
63+ "saturation_from_dict" ,
64+ "register_saturation_transformation" ,
5965 "WeibullAdstock" ,
6066 "WeibullCDFAdstock" ,
6167 "WeibullPDFAdstock" ,
68+ "adstock_from_dict" ,
69+ "register_adstock_transformation" ,
6270 "YearlyFourier" ,
6371 "base" ,
6472 "delayed_saturated_mmm" ,
Original file line number Diff line number Diff line change 2020import xarray as xr
2121from pydantic import ValidationError
2222
23- from pymc_marketing .mmm .components .adstock import (
24- ADSTOCK_TRANSFORMATIONS ,
23+ from pymc_marketing .mmm import (
2524 AdstockTransformation ,
2625 DelayedAdstock ,
2726 GeometricAdstock ,
2827 WeibullAdstock ,
2928 WeibullCDFAdstock ,
3029 WeibullPDFAdstock ,
31- _get_adstock_function ,
3230 adstock_from_dict ,
3331 register_adstock_transformation ,
3432)
33+ from pymc_marketing .mmm .components .adstock import (
34+ ADSTOCK_TRANSFORMATIONS ,
35+ _get_adstock_function ,
36+ )
3537from pymc_marketing .mmm .transformers import ConvMode
3638from pymc_marketing .prior import Prior
3739
Original file line number Diff line number Diff line change 2020import xarray as xr
2121from pydantic import ValidationError
2222
23- from pymc_marketing .mmm . components . saturation import (
23+ from pymc_marketing .mmm import (
2424 HillSaturation ,
2525 InverseScaledLogisticSaturation ,
2626 LogisticSaturation ,
2727 MichaelisMentenSaturation ,
2828 RootSaturation ,
2929 TanhSaturation ,
3030 TanhSaturationBaselined ,
31- _get_saturation_function ,
3231 saturation_from_dict ,
3332)
33+ from pymc_marketing .mmm .components .saturation import _get_saturation_function
3434from pymc_marketing .prior import Prior
3535
3636
You can’t perform that action at this time.
0 commit comments