{'fraction_non_alphanumeric': 0.016929363689433742, 'fraction_numerical': 0.00642148277875073, 'mean_word_length': 4.829931972789115, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Real Time Acoustic Feature Analysis for Gender Identification



Humans with their developed senses can easily ascertain a person’s gender just
by listening to a few uttered words and it does not take any conscious additional effort to do so,
however, a machine cannot do the same unless trained. This research proposes a real time system to
identify a person’s gender from their voice.



Features are extracted from the dataset and checked for outliers. Then a baseline classifier
is constructed to measure performance of the different models. Next the dataset is prepared for training
and five machine learning models, Decision Tree Classifier, Random Forest Classifier, K Nearest
Neighbours, Support Vector Machine and Gaussian Naive Bayes Classifier are applied. Finally,
real time prediction is done by taking speech input and analysing it against the trained model, after
input of speech the gender along with accuracy of prediction is displayed within 1.37s.



A maximum accuracy score of 88.19% is obtained using SVM. Additionally, the juxtaposition
of the feature importance graph highlights the two most important features which fuel this classification.
A combination of these features is then studied to design a less complex system and it is
observed that using just MFCCs and Chroma Vector a near optimal accuracy score of 87.78% is obtained.



Identification of gender prior to applying speech recognition and emotion recognition
algorithm can help in reduction of the search space. Further, using only MFCC and Chroma Vector
can make the system memory efficient and yet provide near optimal accuracy. The system can be
used as an authentication mechanism and can be installed in public places.
