Skip to main content

train_network

Function train_network 

Source
pub fn train_network(
    net: &mut NeuralNetwork,
    inputs: &[Vec<f64>],
    targets: &[Vec<f64>],
    learning_rate: f64,
    epochs: u32,
) -> Vec<f64>