public void saveProcessedData(String path) {
		System.out.println("Saving features");
		try {		
			File file = new File(path);
			if (!file.exists()) {
				file.createNewFile();
			}
			FileWriter fw = new FileWriter(file.getAbsoluteFile());				
			BufferedWriter bw = new BufferedWriter(fw);		
			String[] names = feature_extractor.feature_names;
			for (int i = 0; i < features.size(); ++i) {
				for (int j = 0; j < features.get(i).length; ++j) {
					for (int k = 0; k < names.length; ++k) {
						bw.write(names[k] + "=" + features.get(i)[j][k] + " ");					
					}
					bw.write(labels.get(i)[j] + "\n");
				}
			}
			bw.close();			
		} catch (IOException e) {
			e.printStackTrace();
		}					
	}