void function ( String arg0 [ ] ) { if ( arg0 . length < 1 ) { System . err . println ( "srini_string" ) ; return ; } String loc0 = arg0 [ 0 ] ; DataSet loc1 = new BinaryDataSet ( loc0 ) ; Classifier loc2 = new SingleLayerNeuralNet ( loc1 ) ; loc1 . printTestPredictions ( loc2 , loc0 ) ; }
a simple main for testing this algorithm . this main reads a filestem from the command line , runs the learning algorithm on this dataset , and prints the test predictions to filestem.testout . concode_field_sep DataSet d concode_elem_sep double learning_rate concode_elem_sep double[] weights concode_elem_sep int N concode_field_sep String algorithmDescription concode_elem_sep String author concode_elem_sep void back_prop concode_elem_sep int predict concode_elem_sep double error