Skip to content

Regression tests #8

Description

@tmbb

I have ported the Python code from this package to Rust: https://github.com/tmbb/kde_diffusion/.

Because I don't know how to progam Matlab (and because Matlab seems to be harder to run in general), I have used the Python version as the gold standard. I have used KDE-diffusion to generate a number of test cases based on the distributions analysed in the original Botev et al. paper from 2010 (Table 1 in the paper). I have implemented about half of the distributions.

I wonder if you'd like to add the data I've generated to this repo so that it could be used as a form of regression testing. I can think of a couple things you could do in your code to (maybe) improve performance, and having a number of densities for regression testing could be useful.

If you want, I can help write test cases for those distributions.

Here you can see the demo site where I show how both my implementation and your python implementation deal with the densities from Botev et al: https://tmbb.github.io/kde_diffusion/

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