Trait scarecrow::traits::SupervisedTrainer
[−]
[src]
pub trait SupervisedTrainer { fn train(
&self,
layers: &mut LinkedList<Box<WeightedLayer>>,
inputs: &[f32],
targets: &[f32]
); }
A training algorithm for a neural network.
Required Methods
fn train(
&self,
layers: &mut LinkedList<Box<WeightedLayer>>,
inputs: &[f32],
targets: &[f32]
)
&self,
layers: &mut LinkedList<Box<WeightedLayer>>,
inputs: &[f32],
targets: &[f32]
)
Implementors
impl SupervisedTrainer for SGDTrainer