GenderClassifier Tool
- Aim: using ML models as packages
- Purpose: for classifying gender of individuals using their first names
Installation
Usage
Basic usage
>>> 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")
Requirements
Maintainer
- Jesse E.Agbe(JCharis)
- Jesus Saves@JCharisTech