Skip to content

Vector args for loglike? #75

Open
Open
@ParadaCarleton

Description

NestedModel(loglike, prior_transform)
 NestedModel(loglike, priors::AbstractVector{<:Distribution})

 loglike must be callable with a signature loglike(::AbstractVector)
 where the length of the vector must match the number of parameters
 in your model.

Should we be working with vectors here rather than tuples? The main concern I have is if the parameters are of different types (e.g. if one of the parameters is discrete), which could lead to a Vector{Real}, for instance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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