Implementing classification task, clasification method which using k nearst neigbor.in this method data set separated two parts as train data and test data, train data is for generating system model, test data is for detecting accuracy of system model. The Data set is wine data set, these data are the results of a chemical analysis of wines grown in the same region in italy, but derived fron three deferent cultivars. The analysis determined the quantities of 13 constituents found in each of three types wines.
First attribute os class identifier (1-3)
Other attributes are
4-Alcalinity of Ash
12-OD280/OD315 of diluted wines
In addition to this clasaification program k value and distance formulas shoud be changeable.
Help plz it's home work and urgent!