Skip to content

mayur1711/Gender-Recognition-by-Voice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Gender-Recognition-by-Voice

Using k-NN classifier to distinguish whether the voice sample is that of a male or female. The elbow method was used to pick an optimim K-value(no. of neigbors)

Dataset available on Kaggle --> https://www.kaggle.com/primaryobjects/voicegender

Contents of repo:

  • genderByVoice.py is the file which implements the classifier.
  • voice.csv is the dataset.

Only the following 6 features out of 20 were considered:

  • meanfreq
  • sd
  • centroid
  • meanfun
  • IQR
  • median

The dataset contained 3168 records, 2376 of which were used as training set and the rest as test set.

Releases

No releases published

Packages

No packages published

Languages