Skip to content

keywords used in docs instead of positional args #2086

@nipnipj

Description

@nipnipj

https://www.pymc-marketing.io/en/latest/notebooks/mmm/mmm_sensitivity_analysis.html#setting-the-scene-with-an-example-dataset

mmm.sensitivity.run_sweep(
    sweep_values=sweeps,
    var_input="channel_data",
    var_names="channel_contribution",
    extend_idata=True,
)

Results in

Traceback (most recent call last):
  File "<string>", line 1, in <module>
TypeError: SensitivityAnalysis.run_sweep() got an unexpected keyword argument 'var_input'

Metadata

Metadata

Assignees

No one assigned

    Labels

    MMMdocsImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions