K-nearest neighbor (KNN) with global GINI diversity index for classification subsidy food in Semarang city, Indonesia

2Citations
Citations of this article
15Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

K-Nearest Neighbor (K-NN) is one of the classification methods using the distance from the variable. Determination of the distance used greatly affects the results of the classification. The distance commonly used as a weighting is the Euclidean distance. The Euclidean distance does not distinguish between categories and variables, this is certainly a problem in itself. Therefore the weighting used is the global GINI diversity index. This method will be applied to the classification of subsidy food in Semarang city, based on the factors that influence it. Independent variables that are used include the field of business of household heads (X1); Employment Status (X2); Homeownership status (X3); Roof Building Materials (X4); Main wall material of the house (X5); Main Material of the house floor (X6); Drinking Water Source (X7) and Main Cooking Fuel (X8). Based on the results of classification using the KNN method with a global weighting GINI diversity index, with training: testing is 80: 20 obtained an accuracy of 85% with a value of K = 5.

Cite

CITATION STYLE

APA

Ispriyanti, D., Prahutama, A., & Mustafid. (2020). K-nearest neighbor (KNN) with global GINI diversity index for classification subsidy food in Semarang city, Indonesia. In Journal of Physics: Conference Series (Vol. 1524). Institute of Physics Publishing. https://doi.org/10.1088/1742-6596/1524/1/012034

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free