Lie Detection by voice and heart rate using Android Device and Microsoft Band 2.
Python code for machine learning
python script for collecting audio and heartrate data from phone's microphone and microsoft band 2
From python library pyAudioAnalysis for audio feature extraction
From python library pyAudioAnalysis for audio feature extraction
python script for audio feature extraction from raw audio data, expected 8000 sample rate
Cross Validation on Decision Tree Classifier with max depth 4 on collected data.
Running SVMs from PyStruct on collected data.
Cross Validation and Grid Search on structed learning model from PyStruct.
Cross Validation Grid Search on decision tree from sklearn and export best model in pickel
to python/LD/training_output.
Corss Validation and Grid Search on logistic regression from sklearn
Recieves data from server. Gets best model from pickle
in python/LD/training_output, runs feature extraction and classification.
Unlabelled data from data collection sessions. File name format is type_of_data-speaker-number
Labelled data from python/LD/data
data. 0 - lie, 1 - truth.