Trait r_gen::distributions::Sampleable [−][src]
pub trait Sampleable { fn sample(&self) -> Value; fn liklihood(&self, value: &Value) -> Result<f64, &str>; }
Expand description
A trait that you can implement to create your own distributions to sample from in a generative model.