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

Fix UML permissions from forks / Run only on merge to main #967

Merged
merged 12 commits into from
Aug 24, 2024
6 changes: 2 additions & 4 deletions .github/workflows/uml.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
name: Update the UML Diagrams

on:
pull_request:
branches: [main]
paths:
- "pymc_marketing/**"
push:
types: [closed]
branches: [main]
paths:
- "pymc_marketing/**"

jobs:
build:
if: github.event.pull_request.head.repo.owner.login == 'pymc-labs'
runs-on: ubuntu-latest
permissions: write-all
steps:
Expand Down
Binary file modified docs/source/uml/classes_clv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/uml/classes_mmm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/uml/packages_clv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/source/uml/packages_mmm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions pymc_marketing/prior.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
)

Create a transformed hierarchical normal prior by using the `transform`
parameter.
parameter. Here the "sigmoid" transformation comes from `pm.math`.

.. code-block:: python

Expand Down Expand Up @@ -242,7 +242,8 @@ class Prior:
Only allowed for Normal distribution.
transform : str, optional
The name of the transform to apply to the variable after it is
created, by default None or no transform.
created, by default None or no transform. The transformation must
be available in either `pytensor.tensor` or `pymc.math`.

"""

Expand Down
Loading