GithubHelp home page GithubHelp logo

beom-kwon / gender-classification-using-feature-selection Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 21 KB

Python implementation of the paper "Gait-Based Gender Classification Using a Correlation-Based Feature Selection Technique"

Python 100.00%
feature-extraction feature-selection gait gender-classification machine-learning python

gender-classification-using-feature-selection's Introduction

Contents

  1. Introduction
  2. How to Run
  3. Citation
  4. License

Introduction

On this web page, we provide the Python implementation of the gender classification method proposed in our paper titled 'Gait-Based Gender Classification Using a Correlation-Based Feature Selection Technique.' In this study, we proposed a method to select features that are useful for gender classification using a correlation-based feature selection technique. To demonstrate the effectiveness of the proposed feature selection technique, we compared the performance of gender classification models before and after applying the proposed feature selection technique using a three dimensional gait dataset available on the Internet. Eight machine learning algorithms applicable to binary classification problems were utilized in the experiments. The experimental results showed that the proposed feature selection technique can reduce the number of features by 22, from 82 to 60, while maintaining the gender classification performance.

How to Run

1. Dataset Preparation

  • We utilized the Kinect Gait Biometry Dataset which consists of data from 164 individuals walking in front of an Xbox 360 Kinect Sensor.
  • If you wish to download this dataset, please click here to access the download link.
  • To obtain gender information, you will also need to download the Gender and Body Mass Index (BMI) Data for the Kinect Gait Biometry Dataset.
  • Please click here to access the download link for the gender data.

2. Data Transformation (from .txt to .npz)

The skeleton sequences in the Kinect Gait Biometry Dataset are stored as text files with the filename extension .txt. To facilitate data handling, we converted the data format of each sequence from .txt to .npz. Please run 'step1_data_transformation_from_txt_to_npz.py.' After running the .py file, you will obtain the npz version of each sequence.

3. Feature Extraction

Please execute 'step2_feature_extraction.py.' After running the .py file, you will obtain an npz file containing feature vectors.

4. Correlation-Based Feature Selection

Please execute 'step3_feature_selection.py.' After running the .py file, you will obtain a figure. The figure shows the absolute value of the Pearson correlation coefficient for each pair of (Gait Feature, Gender Label).

5. Performance Evaluation

Please execute the following .py files:

  • 'step4_ml.py.'
  • 'step5_mlp.py.'

Running the .py files mentioned above will display the evaluation results for each machine learning model.

Citation

Please cite the following papers in your publications if they contribute to your research.

@article{kwon2021joint,
  author={Kwon, Beom and Lee, Sanghoon},
  journal={IEEE Access},
  title={Joint Swing Energy for Skeleton-Based Gender Classification},  
  year={2021},
  volume={9},
  pages={28334--28348},  
  doi={10.1109/ACCESS.2021.3058745}
}

Paper link: Joint Swing Energy for Skeleton-Based Gender Classification

@article{kwon2024gait,
  author={Kwon, Beom},
  journal={Journal of The Korea Society of Computer and Information},
  title={Gait-Based Gender Classification Using a Correlation-Based Feature Selection Technique},
  year={2024},
  volume={29},
  number={3},
  pages={55--66},
  doi={10.9708/jksci.2024.29.03.055}
}

Paper link: Gait-Based Gender Classification Using a Correlation-Based Feature Selection Technique

License

Our codes are freely available for non-commercial use.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.