Skip to content

A Natural Language Processing model trained with over 1,00,000 (1 Lakh) names is used to predict a gender of a person based on the first name of the person.This model is created using Long Short Term Memory(LSTM) a variant of Recurrent Nueral Network which has training accuracy of 99.35% and tested over 11,000 samples with a test accuracy of 89.…

License

Notifications You must be signed in to change notification settings

ksdkamesh99/Ling-Gender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👨Ling-Gender👩

📌 Introduction:-

A Natural Language Processing model trained with over 1,00,000 (1 Lakh) names is used to predict a gender of a person based on the first name of the person.This model is created using Long Short Term Memory(LSTM) a variant of Recurrent Nueral Network which has training accuracy of 99.35% and tested over 11,000 samples with a test accuracy of 89.08% which is quite high in nlp for out of sample test cases.

Logo

🏃‍♂️ Local Installation

  1. Drop a ⭐ on the Github Repository.

  2. Clone the Repo by going to your local Git Client and pushing in the command:

https://github.com/ksdkamesh99/Ling.git
  1. Install the Packages:
pip install -r requirements.txt
  1. At last, Go to 3.7.7 Python interpreter(Make Sure to create virtual env).
#Import Ling as l in any python file/Interpreter(note it is present in the same directory)
import Ling as l
print(l.gender("kamesh"))
# Output will be 1 which means male
print(l.gender("sudha"))
#Output will be 0 which means female
  1. Screenshots will be updated below.

📧Contact:-

For any kind of suggesstions/ help in package regarding improving accuracy of model. Please mail me at [email protected].

📜 LICENSE

MIT

About

A Natural Language Processing model trained with over 1,00,000 (1 Lakh) names is used to predict a gender of a person based on the first name of the person.This model is created using Long Short Term Memory(LSTM) a variant of Recurrent Nueral Network which has training accuracy of 99.35% and tested over 11,000 samples with a test accuracy of 89.…

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published