Genclf – A ML Package for Gender Classification of First Name

Genclf ,is a  machine learning package for classifying the gender of first names . It a  ML model as a product (MLaaP).

You can install it on your system using pip.

pip install genclf

Usage

The usage is quite simple.

>>> from genclf import GenderClassifier
>>> g = GenderClassifier()
>>> g.name = 'Jess'
>>> g.predict()

Loading Different Models

>>> from genclf import GenderClassifier
>>> g = GenderClassifier()
>>> g.name = 'Jessica'
>>> g.load('logit')
>>> g.predict()

Using the Classify Method

>>> from genclf import GenderClassifier
>>> g = GenderClassifier()
>>> g.load('nb')
>>> g.classify("David")

Check Gender

>>> from genclf import GenderClassifier
>>> g = GenderClassifier()
>>> g.is_male("Mark")
>>> from genclf import GenderClassifier
>>> g = GenderClassifier()
>>> g.is_female("Mary")

Thanks for using our product.  Let us know you issues and opinions.

Jesus Saves@JCharisTech