This site uses cookies. By continuing to use this site you agree to our use of cookies. To find out more, see our Privacy and Cookies policy.
Paper The following article is Open access

Determination value k in k-nearest nieghbor with local mean euclidean And weight gini index

, and

Published under licence by IOP Publishing Ltd
, , Citation M E Saputra et al 2018 IOP Conf. Ser.: Mater. Sci. Eng. 420 012098 DOI 10.1088/1757-899X/420/1/012098

1757-899X/420/1/012098

Abstract

K-Nearest Neighbor is the algorithm that included into the category of algorithms supervaised learning is bound process to distinguish the classes that already exists. Nearest neighbor is calculated based on the value of k that determines how the nearest neighbor in consider on the distance class data for k-nearest neighbor based on the determination of the value of the k. The determination of the class test data local mean based k-nearest neighbor using the measurement of the distance closest to each using eucllidean distance from each class data. Model based approach the weight of Gini Index is in need to give the weight of each attributes to determine the value of k. Research In this time I get the results of k best at the thyroid data which is a type of unbalanced data to obtain the value of the k highest k=44 until k=46 with accuracy of the closest neighbors of 71,19% and the value of the k lowest is k=50 of 69,30%. Then the results of the value of the k=44 until k=46 become k best on the processing of this time. It can be concluded for the data class is not the same will result in class data become random repeatedly until the limit of the determination of the value of k as well as exceeding the value of the k highest.

Export citation and abstract BibTeX RIS

Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.

Please wait… references are loading.
10.1088/1757-899X/420/1/012098