Struct rustml::opt::OptResult [] [src]

pub struct OptResult<T> {
    pub fvals: Vec<(Vec<T>, T)>,
    pub params: Vec<T>,
    pub stopped: bool,
}

The result of an optimization.

Fields

fvals

TODO

params

The parameters after the last iteration.

stopped

True if the stopping criterion is fulfilled.

Methods

impl<T: Clone + Copy> OptResult<T>

fn matrix(&self) -> Matrix<T>

Creates a matrix from the intermediate parameters and values of the objective funciton after each iteration.