Skip to main content

GenderClassifier Tool

  • Aim: using ML models as packages
  • Purpose: for classifying gender of individuals using their first names

Installation

pip install genclf

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('nv')
>>> 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

  • Joblib
  • Scikit-learn

Maintainer

  • Jesse E.Agbe(JCharis)
  • Jesus Saves@JCharisTech

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genclf-0.0.1.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genclf-0.0.1-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file genclf-0.0.1.tar.gz.

File metadata

  • Download URL: genclf-0.0.1.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.3 Linux/5.0.0-37-generic

File hashes

Hashes for genclf-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1713c245b2aa609c309f5286c5ac49ec1f4d6a5eda421979331962db49afe482
MD5 51712b862c24f3a60fb544e76d3dcb42
BLAKE2b-256 191aacb0e7f8834a16ec9598f83031dade1dece0e82de45fa205ec3b044f17b0

See more details on using hashes here.

File details

Details for the file genclf-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: genclf-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.3 Linux/5.0.0-37-generic

File hashes

Hashes for genclf-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 518e04dbecbcb18800ccb1b89f47e9e9c66c5f5c5e70917d4657ce89c6b69269
MD5 d16218babd6483b45bb7a3775ce7e846
BLAKE2b-256 130e10830711da6ef99494e96154ff334e5bf1f3b09ba0771f42d73a5d8c7209

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page