private void normalizeDataset()
	{
		//for each attr of the dataset
		for(int i = 0; i < dataset[0].getNumAttr(); i++)
		{
			//gets the min for every entry
			double min = 0;
			for(int j = 0; j < dataset.length; j++)
			{
				min = Math.min(dataset[j].getAttr(i),min);
			}
			
			for(int j = 0; j < dataset.length; j++)
			{
				double normalized = (dataset[j].getAttr(i) - min) / dataset[j].getAttrRange(i);
				dataset[j].setAttr(i, normalized);
			}
		}
	}