从印度名字猜性别
guess-indian-gender的Python项目详细描述
动机
我找不到一个可以从 印度名字。所以做了一个。
先决条件
- Python3.7
- pipenv
开发-设置说明
- 克隆此存储库。
- CD转回购
- 激活pipenv pipenv shell
- 安装依赖项pipenv install
- 启动一个python shell并键入以下内容。
>>>fromguess_indian_genderimportIndianGenderPredictor>>>i=IndianGenderPredictor()>>>i.predict(name="adhi")# returns male
安装
- pip install guess-indian-gender
精度
- 目前精度为0.88。欢迎任何捐款 提高准确性。
更改日志
- 当最后一个字母被认为是性别检测的特征时 准确率为78%。
- 当最后四个字母被认为是正确的成为88%。
待办事项
- [X]转换为PIP包。
- [X]转换为nice oops。
- []将准确性提高到95%。
数据集学分
许可证
麻省理工学院。有关详细信息,请参见许可证文件