Skip to content

MATLAB code for multi-local Power means-based fuzzy k-nearest neighbor (MLPM-FKNN) algorithm

Notifications You must be signed in to change notification settings

MahindaMK/Multi-local-Power-means-based-fuzzy-k-nearest-neighbor-algorithm-MLPM-FKNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An enhancement of fuzzy k-nearest neighbor classifier using multi-local power means

Introduction:

This is a new method to the family of fuzzy k-nearest neighbor (FKNN) classifiers based on the use of power means in the calculation of multi-local means that are used in classification of samples. This method is called multi-local power means fuzzy k-nearest neighbor classifier (MLPM-FKNN). The MLPM-FKNN can be adapted to the context (of different data sets), due to the power mean being parametric and thus allowing for testing to find the parameter value that can be optimized for the classification accuracy.

Matlab functions:

The function of the mlpm-fknn algorithm (mlpm_fknn.m) and Power mean computation (pmean.m) are included. In addition to those files, an example (example_mlpm_fknn.m) of the use of mlpm-fknn classifier is also presented. pmean.m is needed to compute Power mean vectors of the set of nearest neighbor in each class.

Reference: Kumbure, M. M., Luukka, P., Collan, M.: An enhancement of fuzzy k-nearest neighbor classifier using multi-local power means. In: Proceeding of the 11th Conference of the European Society for Fuzzy Logic and Technology (EUSFLAT), pp. 83– 90, Atlantis Press (2019)

Created by Mahinda Mailagaha Kumbure & Pasi Luukka 01/2019 based on Keller's definition of the fuzzy k-nearest neighbor algorithm.

Updated version of the MLPM-FKNN classifier (mlpm_fknn_updated.m):

This is the updated version of the original MLPM-FKNN classifier according to the study:

Kumbure, M. M., Lohrmann, C., Luukka, P.: A Study on Relevant Features for Intraday S&P 500 Prediction Using a Hybrid Feature Selection Approach. International Conference on Machine Learning, Optimization, and Data Science (LOD - 2021), Grasmere, Lake District, England – UK (2021).

In this method, training data is grouped into each class first, and the set of k-nearest neighbors for the query sample is searched from each class. Next, multi-local power means vector for each set of nearest neighbors from each class is computed. The rest of the steps are the same as in the original MLPM-FKNN method.

Releases

No releases published

Packages

No packages published

Languages