learn_history

Function learn_history 

Source
pub fn learn_history<M, C, T, H, Truth>(
    teacher: &T,
    cost: &C,
    model: &mut M,
    history: H,
)
where M: Model, C: Cost<Truth, M::Target>, T: Teacher<M>, H: IntoIterator<Item = (M::Features, Truth)>, Truth: Copy,
Expand description

Teaches model all events in history