Filipino sign language alphabet recognition using Persistent Homology Classification algorithm

View article
PeerJ Computer Science

Main article text

 

Introduction

Persistent homology classification algorithm (de lara, 2023)

Persistent homology

and the p-th persistent k-th Betti number βs,pk of Ks is the rank of Hs,pk.

Persistence diagram and barcode

is used where d(x,y) is the distance of any two points x,y with xy of the point cloud.

Training and classification using PHCA

Score function for PHCA

or the absolute difference of the total sum of lifespan of P(Yi) and the total sum of lifespan of P(Xi). The new data point α is then classified into the class which satisfies

Methods

Data description

Classification scheme

Feature extraction

Data splitting and feature scaling

Hyperparameter tuning

Classification

Performance evaluation and comparison

  • a.

    Confusion matrix

    The confusion matrix is a square matrix A=[aij] where each element aij represents the number of instances belonging to class i and predicted to be in class j. From this confusion matrix, we can obtain the following values: True Positive (TP), True Negative (TN), False Positive (FP), and False Negative (FN).

    Aside from these values, the confusion matrix itself can be used for misclassification analysis of a model. In this article, we investigate further the confusion matrix obtained by PHCA to analyze how the model performed on our dataset.

  • b.

    Classification performance

    From the TN, TP, FP, and FN values, we obtain five performance metrics which will comprise the classification performance for each of the models. These are precision, recall, F1-score, specificity, and accuracy. The first 4 is averaged across all classes while the latter is obtained over the entire test set. The description of these metrics are provided in the following:

    • i. Precision describes exactness.

      precision=TPTP+FP

    • ii. Recall describes completeness.

      recall=TPTP+FN.

    • iii. F1-score describes the combination of precision and recall, providing insights on the balance of the two metrics.

      f1score=2×precision×recallprecision+recall.

    • iv. Specificity describes the ability of the classifier to predict instances not belonging to a class.

      specificity=TNTN+FP.

    • v. Accuracy describes the ratio between the number of correct predictions to the total number of predictions made.

      accuracy=TP+TNTP+TN+FP+FN.

  • c.

    Comparison of classification performance

    To compare the performance of PHCA with the performance of the other classifiers in terms of the five evaluation metrics, Nemenyi test is implemented. It serves as a post-hoc test for the implementation of Friedman test, a non-parametric equivalent of the repeated-measures ANOVA (Demšar, 2006). The null hypothesis for the Friedman test states that all classifiers are equivalent. If this is rejected, then pairwise comparison of the classifiers is done using Nemenyi test. The performance of two classifiers is significantly different if the corresponding average ranks differ by at least the critical difference

    CD=qαk(k+1)6N

    where k is the number of classifiers, N is the number of datasets, and qα are based on the Studentized range of statistic divided by 2. The threshold value α used in this article is 0.05.

Results and discussion

Performance evaluation

Comparison of classification performance

Misclassification analysis of PHCA

Conclusion

Additional Information and Declarations

Competing Interests

Author Contributions

Data Availability

Funding

This work has been supported by the University of the Philippines System-wide Computational Research Laboratory Grant. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

MIT

Your institution may have Open Access funds available for qualifying authors. See if you qualify

Publish for free

Comment on Articles or Preprints and we'll waive your author fee
Learn more

Five new journals in Chemistry

Free to publish • Peer-reviewed • From PeerJ
Find out more