[][src]Function vikos::learn_history

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

Teaches model all events in history