Open
Description
How about adding GPs and Fourier transformation pages to the streamlit app?
Would just have to be small wrappers around the components that exist
from pymc_marketing.prior import Prior
from pymc_marketing.mmm import YearlyFourier
# User input
n_order = 6
b = 0.1
# Setup
prior = Prior("Laplace", mu=0, b=b, dims="fourier")
fourier = YearlyFourier(n_order=n_order, prior=prior)
# Displayed in the APP
parameters = fourier.sample_prior()
curve = fourier.sample_curve(parameters)
fig, axes = fourier.plot_curve(curve)
Same thing in the GP case:
- Limit the user input for display purposes but provide some
Maybe the parameters here:pymc-marketing/pymc_marketing/mmm/hsgp.py
Lines 631 to 638 in bb5f1e5
- Sample the curve and plot it in the UI
This would be on a separate tab and would just have some surrounding context between the page. Doesn't have to be too complicated
Thoughts? @juanitorduz @cetagostini @louismagowan
Activity