Coder Social home page Coder Social logo

hellolzc / ad_detection_open Goto Github PK

View Code? Open in Web Editor NEW
9.0 4.0 1.0 117 KB

Detecting AD from Audio Data Using Neural Networks with Bottleneck Features and Data Augmentation

License: MIT License

Python 84.78% Shell 1.16% MATLAB 0.70% Jupyter Notebook 13.35%

ad_detection_open's Introduction

AD Detection

Detecting Alzheimer's disease(AD) from spontaneous speech.

Paper

Please cite:

  • [1] Liu Z, Guo Z, Ling Z, et al. Dementia Detection by Analyzing Spontaneous Mandarin Speech[C]//2019 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA ASC). IEEE, 2019: 289-296.

  • [2] Liu Z, Guo Z, Ling Z, et al. Detecting Alzheimer's Disease from Speech Using Neural Networks with Bottleneck Features and Data Augmentation [C]// ICASSP 2021.

Data Set

Repository Structure

├── ad_detection
│   ├── dlcode                         # Deep learning model
│   ├── feature_cn                     # feature extraction of mandarin dataset
│   ├── feature_en                     # feature extraction of dementia bank dataset
│   ├── mlcode                         # Traditional meachine learing model
│   ├── prepare_cn                     # Data preprocessing for mandarin dataset
│   ├── prepare_en                     # Data preprocessing for dementia bank dataset
│   │   └── pylangacq_modified
│   └── tool                           # Tools
│       └── opensmile_scripts
├── notebook                           # Jupyter notebooks of Dementia bank dataset
│   └── log
├── notebook_cn                        # Jupyter notebooks of mandarin dataset
├── ws_cn                              # Workspace of mandarin dataset. Similiar as ws_en
└── ws_en                              # Workspace of Dementia bank dataset
    ├── data                           # Preprocessed data or extracted feature
    │   ├── bottleneck
    │   │   ├── high_pass
    │   │   └── hp_aug
    │   ├── speech_extract_b
    │   ├── speech_keep_b
    │   ├── tsv
    │   ├── tsv_sr
    │   ├── wav_mono
    │   ├── high-pass
    │   └── wav_hp_aug
    ├── data_ori                       # Original data from Pitt corpus
    │   ├── ctrl
    │   │   └── cookie
    │   └── dementia
    │       └── cookie
    ├── fusion                         # Merged features
    ├── label                          # summary.csv  blacklist.csv
    ├── list                           # Results of feature merging, K-fold division and prediction
    │   ├── result
    │   ├── result_aug
    │   ├── result_bottleneck
    │   ├── result_bottleneck_aug
    │       ......
    │   ├── split
    │   └── split_aug
    ├── mfa                            # Forced align using Montreal-Forced-Aligner(MFA)
    └── opensmile                      # Files generated by OpenSMILE toolkit
        ├── audio_features_CPE16_
            ......
        ├── audio_features_mfcc_
        └── audio_features_mfcc_aug

Requirements and Installation

In order to run this code, you'll need the following packages.

And you need following python libraries.

How to run

  1. Download and prepare data following steps in run_en.sh (DementiaBank Pitt corpus)

  2. Launch Jupyter and, using your browser, navigate to the URL shown in the terminal output (usually http://localhost:8888/)

    • Split data to 10 folds using notebook/ML7-DataPrepareAndSplit.ipynb
    • Train baseline models using notebook/ML7-Test_acoustic_feature.ipynb
    • Train deeplearing models with OpenSMILE LLDs: notebook/DL2-OpenSMILE_LLDs.ipynb
    • Train deeplearing models with bottleneck features: notebook/DL2-LLDs-BottleNeck.ipynb

Note

The ASR model used for bottleneck feature extraction will not be made public.

The *.py files in notebook directory are auto generated from *.ipynb files. You can find more information on this page and this page.

License

The MIT License; please see LICENSE.txt

ad_detection_open's People

Contributors

hellolzc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

aascode

ad_detection_open's Issues

What's the meaning of bottleneck features?

"The bottleneck feature extractor used in this paper is a speaker-independent LSTM model for ASR". The above quote appears in your article.I don't quite understand the meaning of bottleneck features extractor and can't find the corresponding part in the code. Could you explain to me how to implement this model?
Thanks and regards.

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.