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)
1-Alcohol
2-Malic acid
3-Ash
Other attributes are
4-Alcalinity of Ash
5-Magnesuim
6-total phenols
7-Flavanoids
8-Nonflavanoid phenols
9-Proanthocyanins
10-Color intensity
11-Hue
12-OD280/OD315 of diluted wines
13-Proline
In addition to this clasaification program k value and distance formulas shoud be changeable.
Using C#.
Help plz it's home work and urgent!