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