Skip to content

Consider renaming Deterministic to store_in_trace #6695

Closed
@ricardoV94

Description

@ricardoV94

Description

Deterministic does not convey the meaning of what it does. It stores an arbitrary computation (including stochastic nodes) in the trace, between sampled points.

From experience with Discourse users (most recent example), I think Deterministic is a source of confusion. Some users feel they need it for everything that is not a pm.Distribution. This is

  1. Not true,
  2. A potential waste of computation and slowdown
  3. Can make the model API seem quite "uglier/verbose" than it actually is.

We should keep the Deterministic as an alias for quite some time, but start using the new name in docs and examples.

Alternative names welcome

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions