Trait RegularizationFn
maver
pub trait RegularizationFn { fn output(&self, _: f64) -> f64; fn der(&self, _: f64) -> f64; }
fn output(&self, _: f64) -> f64
fn der(&self, _: f64) -> f64
impl RegularizationFn for L1
fn output(&self, w: f64) -> f64
fn der(&self, w: f64) -> f64
impl RegularizationFn for L2