基于区块链的毕业设计name ethnicity classification – 姓名种族分类

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计name ethnicity classification – 姓名种族分类 是一篇很好的国外资料

name ethnicity classification

this project uses a LSTM to assign ethnicities to names

| the 10 ethnicities (this can change):

{     "british": 0, "else": 1, "indian": 2, "american": 3, "german": 4,      "polish": 5, "pakistani": 6, "italian": 7, "romanian": 8, "french": 9, "chinese": 10 }

| installation:

git clone https://github.com/hollowcodes/name-ethnicity-classification.git cd name-ethnicity-classification/ pip install -r requirements.txt

| usage:

  • predicting one name:

    python3 predict_ethnicitiy.py -n "Gonzalo Rodriguez" (upper-/ lower-case doesn't matter)  >> name: Gonzalo Rodriguez - predicted ethnicity: spanish 
  • predicting multiple names and save the output

    python3 predict_ethnicitiy.py -c "names.csv" "predictions.csv" 

    Using the -c/--csv flag, you can predict an entire lists of names (names.csv, changeable) simutaneously and save them to another csv (predictions.csv, changeable).

    “names.csv” has to have one column named “names”, ie.:

    1 names 2 John Doe 3 Max Mustermann 

    If “predictions.csv” doesn’t exist, it will be created.

| results:

  • highest archived accuracy: 78.97%

  • confusion matrix:

name ethnicity classification - 姓名种族分类

– ### loss-/ accuracy-curve:

name ethnicity classification - 姓名种族分类


姓名种族分类

此项目使用LSTM为姓名分配民族性

| 10个民族(这可能会改变):

{     "british": 0, "else": 1, "indian": 2, "american": 3, "german": 4,      "polish": 5, "pakistani": 6, "italian": 7, "romanian": 8, "french": 9, "chinese": 10 }

安装:

git clone https://github.com/hollowcodes/name-ethnicity-classification.git cd name-ethnicity-classification/ pip install -r requirements.txt

;用法:

  • 最高存档准确率:78.97%
  • 混淆矩阵:

| results:

  • highest archived accuracy: 78.97%

  • confusion matrix:

name ethnicity classification - 姓名种族分类

– ### loss-/ accuracy-curve:

<name ethnicity classification>

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/17090.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 !
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计name ethnicity classification – 姓名种族分类

提供最优质的资源集合

立即查看 了解详情