Skip to content

Docstring for public function sample_gaussian #56

@mikewojnowicz

Description

@mikewojnowicz

Thank you for your lovely work.

My question is about sample_gaussian, which is a public function, both by convention (no leading underscore in the function name) and also by usage (it is imported by modules in other python repos).

The latter situation also highlights the importance and utility of this function.

However, there is no docstring.

What is J and what is h? From a quick glance, it seems like these may be related to the natural parameterization -- something along the lines of J being the precision and h being the precision-weighted mean.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions