Skip to content

Allow user to provide a sampler to optimize in place of initial values #1775

@sethaxen

Description

@sethaxen

Currently if a user doesn't provide an array of initial values to optimize, Turing generates the initial values using SampleFromPrior. However, perhaps the user wants to use SampleFromUniform or some other sampler instead. It would be handy if optimize would accept in that same place a sampler argument.

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