/// Construct new Hidden MarkovModel with the given transition, observation, and initial
/// state matrices and vectors with probabilities as `f64` values.
Construct new Hidden MarkovModel with the given transition, observation, and initial
state matrices and vectors with probabilities as `f64` values.
Construct new Hidden MarkovModel with the given transition observation and initial state matrices and vectors with probabilities as ` f64 ` values .
pub fn with_float(
            transition: &Array2<f64>,
            observation: Vec<Dist>,
            initial: &Array1<f64>,
        ) -> Result<Self> {
            Self::new(
                transition.map(|x| LogProb::from(Prob(*x))),
                observation,
                initial.map(|x| LogProb::from(Prob(*x))),
            )
        }
pub fn with_float ( transition : & Array2 < f64 > , observation : Vec < Dist > , initial : & Array1 < f64 > , ) -> Result < Self > { Self :: new ( transition . map ( | x | LogProb :: from ( Prob ( * x ) ) ) , observation , initial . map ( | x | LogProb :: from ( Prob ( * x ) ) ) , ) }
Construct new Hidden MarkovModel with the given transition, observation, and initial
state matrices and vectors with probabilities as `f64` values.
Construct new Hidden MarkovModel with the given transition observation and initial state matrices and vectors with probabilities as ` f64 ` values .
transition
&Array2<f64>
observation
Vec<Dist>
initial
&Array1<f64>