public static void loadWeightsFromFile(){
		File input = null;
		Scanner reader = null;
		try {
			input = new File(".data\\nnsave40_110000newLR");
			reader = new Scanner(input);
		} catch ( java.io.FileNotFoundException e ) {
			try {
				input = new File(".data/nnsave40_110000newLR");
				reader = new Scanner(input);
			} catch ( java.io.FileNotFoundException e1 ) {
				e1.printStackTrace();
				System.out.println("shit happened");
			}
		}
		
		try{
			String[] line = reader.nextLine().split(",");
			numInputs = Integer.parseInt(line[0]);
			numHiddenNodes = Integer.parseInt(line[1]);
			
			inHid = new double[numInputs][numHiddenNodes];
			
			for(int i = 0; i < inHid.length; i++){
				line = reader.nextLine().split(",");
				for(int j = 0; j < inHid[i].length; j++){
					inHid[i][j] = Double.parseDouble(line[j]);
				}
			}
			
			line = reader.nextLine().split(",");
			numOutputs = Integer.parseInt(line[1]);
			
			hidOut = new double[numHiddenNodes][numOutputs];
			
			for(int i = 0; i < hidOut.length; i++){
				line = reader.nextLine().split(",");
				for(int j = 0; j < hidOut[i].length; j++){
					hidOut[i][j] = Double.parseDouble(line[j]);
				}
			}
			
		}
		catch(Exception e){
			e.printStackTrace();
			System.out.println("stuff happened");
		}
		
		
		
		
		
	}