Giter VIP home page Giter VIP logo

kdd_project's Introduction

KDD_project

This is the repository to store the codes and materials in the KDD group project for Group (No. 2)

Project information

Basic information

  • Project topic: classification
  • Group number: N0.2

Topic and Title

Topic: classification.
Title: COVID-19 Classification Based on Cough Sound

People

Chung-chi,
Jiabao,
Zongchao,
Jihong,
Yubo,
Lingyun

Data

The data we are using is collected from Coswara.

Model

The models applied in this project are as follows:

  • VAE
  • GRU
  • LSTM
  • VGGish
  • transformer-AST

Results

The results are shown in the final paper.

template

how to compile and execute the description of each source file an example to show how to run the program the operating system you tested your program (e.g., linux and Windows) anything you want to include


Example to run

data preprecess

Environment

Linux

Run the code

python clean2_readTheFile.py # to clean the audio files with less audio files
python clean2_readFileOverviewCsv.py # to clean the audio files with damaged audio files
python mfcc.py # to extract the MFCC features

VAE

Environment

Linux

Run the code

python load_npy.py # to use the saved data
python main.py # to run the VAE model

GRU

Environment:

Python 3.6, torch, torchnet, pandas, sklearn, tqdm

Run the code

python main.py --data_dir={data_dir} --label={label}

--data_dir: Dir that store the MFCC preprocessed data, 'distribution/' by defult

--label: The csv file that store the preprocessed labels and other informations, 'combined_data_clean2.csv' by defult

After running the code, the processed dataset which used for input of the GRU model would be stored in the dataset folder.

LSTM

Environment: Python 3.7, torch, numpy, sklearn

Run the code

python main.py --base_dir /data/lingyun/coswara-data/ --hidden_dim 64 --num_layers 4 --dropout 0 --optimizer adam --lr 0.001

--base_dir: the base directory of the coswara dataset

More examples can be found in run.sh.


References

References are listed here.

kdd_project's People

Contributors

cchaoann avatar jihong-tang avatar jligm-hash avatar mental2008 avatar niwakoki avatar wyb0627 avatar zmoad avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.