void convertClassifiers()
	{		
		String class1;
		String class2;
		
		// Get the first class of the data set.
		class1 = data.classes[0];								
		// Find the second distinct class of the data set.
		for (int i = 1; i < data.classes.length; i++)	
		{
			if (class1.compareTo(data.classes[i]) != 0)
			{
				class2 = data.classes[i];
				break;
			}
		}
		// Map the class of every data entry to +1 or -1 accordingly.
		for (int i = 0; i < data.classes.length; i++)
		{
			if (class1.compareTo(data.classes[i]) == 0)	// Map the first distinct class to 1.0
			{
				data.classes[i] = "1.0";
			}
			else														          // Map the second distinct class to -1.0
			{
				data.classes[i] = "-1.0";
			}
 		}
	}