set_prior

Function set_prior 

Source
pub fn set_prior(name: &str, prior: f64) -> Result<()>
Expand description

Sets the prior probability of the hypothesis P(H) to the new value, saving it to the database.

ยงErrors

  • If the database cannot be opened
  • If the prior cannot be inserted into the database