This is my Matlab implementation of the GFRNN classifier for handling Imbalanced datasets. This algorithm was proposed in 2015 by Yujin Zhu, Zhe Wang and Daqi Gao.
Click Here to see the GFRNN paper.
Short description of contained codes:
-
main_GFRNN.m: contains the implementation of GFRNN.
-
GMCalc.m: is a function that calculates the Geometric Mean of classification by taking into input the predicted labels and the actual labels. The geometric mean is a common way to evaluate the effectiveness of a classification algorithm on imbalanced datasets.
-
Example_Imbalanced_Dataset_Test.mat: and "Example_Imbalanced_Dataset_Train.mat" are two matrixes created for educational purposes to demonstrate how to implement GFRNN on a given dataset.