Skip to content

Tests for sequential Monte Carlo #11

Description

@OttoVintola

Currently the smc.rs file has module defined for tests.

Some good tests would be to, e.g.,

  • Test that if you pass a CDF which jumps to a given value for some feature and stays constant after that, sample_feature_from_probs samples that first feature
  • Check that normalize_weights_inplace actually return something that sums to one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions