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.
Currently the
smc.rsfile has module defined for tests.Some good tests would be to, e.g.,
sample_feature_from_probssamples that first featurenormalize_weights_inplaceactually return something that sums to one.