Skip to content

Confusing docstrings in ModelBuilder Example #812

@avm19

Description

@avm19

Notebook title: Using ModelBuilder class for deploying PyMC models
Notebook url: https://github.com/pymc-devs/pymc-examples/blob/main/examples/howto/model_builder.ipynb

Issue description

Comments and docstrings in the example (class LinearModel(ModelBuilder): ...) are confusing and seemingly outdated. In particular, model_config is not a parameter of LinearModel.build_model().

Expected output

N/A

Proposed solution

Update the example, so that it follows closely in-line examples embedded in class ModelBuilder: docstrings. Perhaps, improve both at the same time.

See also: #811

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions