pub fn run_variety(epochs: usize) -> Result<Vec<TestResult>> {
    let mut test_results = vec![];
    test_results.append(&mut train_and_run(20, 0.05, 0.1, 0.9, epochs, 60000)?);
    test_results.append(&mut train_and_run(50, 0.05, 0.1, 0.9, epochs, 60000)?);
    test_results.append(&mut train_and_run(100, 0.05, 0.1, 0.9, epochs, 60000)?);
    test_results.append(&mut train_and_run(100, 0.05, 0.1, 0.0, epochs, 60000)?);
    test_results.append(&mut train_and_run(100, 0.05, 0.1, 0.25, epochs, 60000)?);
    test_results.append(&mut train_and_run(100, 0.05, 0.1, 0.5, epochs, 60000)?);
    test_results.append(&mut train_and_run(100, 0.05, 0.1, 0.9, epochs, 30000)?);
    test_results.append(&mut train_and_run(100, 0.05, 0.1, 0.9, epochs, 15000)?);
    Ok(test_results)
}
/* Trains and runs a variety of different networks and returns the results */
Trains and runs a variety of different networks and returns the results
Trains and runs a variety of different networks and returns the results
pub fn run_variety(epochs: usize) -> Result<Vec<TestResult>> {
    let mut test_results = vec![];
    test_results.append(&mut train_and_run(20, 0.05, 0.1, 0.9, epochs, 60000)?);
    test_results.append(&mut train_and_run(50, 0.05, 0.1, 0.9, epochs, 60000)?);
    test_results.append(&mut train_and_run(100, 0.05, 0.1, 0.9, epochs, 60000)?);
    test_results.append(&mut train_and_run(100, 0.05, 0.1, 0.0, epochs, 60000)?);
    test_results.append(&mut train_and_run(100, 0.05, 0.1, 0.25, epochs, 60000)?);
    test_results.append(&mut train_and_run(100, 0.05, 0.1, 0.5, epochs, 60000)?);
    test_results.append(&mut train_and_run(100, 0.05, 0.1, 0.9, epochs, 30000)?);
    test_results.append(&mut train_and_run(100, 0.05, 0.1, 0.9, epochs, 15000)?);
    Ok(test_results)
}
pub fn run_variety ( epochs : usize ) -> Result < Vec < TestResult > > { let mut test_results = vec ! [ ] ; test_results . append ( & mut train_and_run ( 20 , 0.05 , 0.1 , 0.9 , epochs , 60000 ) ? ) ; test_results . append ( & mut train_and_run ( 50 , 0.05 , 0.1 , 0.9 , epochs , 60000 ) ? ) ; test_results . append ( & mut train_and_run ( 100 , 0.05 , 0.1 , 0.9 , epochs , 60000 ) ? ) ; test_results . append ( & mut train_and_run ( 100 , 0.05 , 0.1 , 0.0 , epochs , 60000 ) ? ) ; test_results . append ( & mut train_and_run ( 100 , 0.05 , 0.1 , 0.25 , epochs , 60000 ) ? ) ; test_results . append ( & mut train_and_run ( 100 , 0.05 , 0.1 , 0.5 , epochs , 60000 ) ? ) ; test_results . append ( & mut train_and_run ( 100 , 0.05 , 0.1 , 0.9 , epochs , 30000 ) ? ) ; test_results . append ( & mut train_and_run ( 100 , 0.05 , 0.1 , 0.9 , epochs , 15000 ) ? ) ; Ok ( test_results ) }
Trains and runs a variety of different networks and returns the results
Trains and runs a variety of different networks and returns the results
epochs
usize
epochs
usize