public static Iris[] getAllIris()
	{
		Iris[] pf = null;
		String csvFile = IrisFactory.class.getResource("/Resource/iris.csv").getPath();
		BufferedReader br = null;
		String cvsSplitBy = ",";
	 
		try {
	 
			br = new BufferedReader(new FileReader(csvFile));
			StringBuffer fileb = new StringBuffer();
			while (br.ready()) {
				fileb.append(br.readLine() + "\n");
			}
			String file = fileb.toString();
			        // use comma as separator
			String[] line = file.split("\n");
			pf = new Iris[line.length];
			for(int i = 0; i < line.length; i++)
			{
				String[] item = line[i].split(cvsSplitBy);
				
				double[] d = new double[item.length];
				d[0] = 1;
				for(int aux = 1; aux < item.length; aux++)
				{
					d[aux] = Double.parseDouble(item[aux-1]);
				}
				pf[i] = new Iris(d, item[4],i);
			}
	 
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			if (br != null) {
				try {
					br.close();
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
		}
		shuffleArray(pf);
		return pf;
	}