OCRNeuralNetwork/src/com/conordevilly/ocr/neuralnetwork/PersistanceManager.java
public static void writeNN(NeuralNetwork nn, File fout){
		try{
			FileOutputStream out = new FileOutputStream(fout);
			ObjectOutputStream writer = new ObjectOutputStream(out);
			writer.writeObject(nn);
			writer.close();
			out.close();
		}catch(IOException e){
			e.printStackTrace();
		}
	}
//Write a given Network to a given File
Write a given Network to a given File
Write a given Network to a given File
public static void writeNN(NeuralNetwork nn, File fout){
		try{
			FileOutputStream out = new FileOutputStream(fout);
			ObjectOutputStream writer = new ObjectOutputStream(out);
			writer.writeObject(nn);
			writer.close();
			out.close();
		}catch(IOException e){
			e.printStackTrace();
		}
	}
public static void writeNN ( NeuralNetwork nn , File fout ) { try { FileOutputStream out = new FileOutputStream ( fout ) ; ObjectOutputStream writer = new ObjectOutputStream ( out ) ; writer . writeObject ( nn ) ; writer . close ( ) ; out . close ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
Write a given Network to a given File
Write a given Network to a given File