tfjs-vn-name-to-gender
This is a small project using tensorflowjs
The goal is to make a small app to predict the gender base on a person's name. It currently works only on vietnamese names. The accuracy of the trained model is 97%
How it's made
- Generate
dataset.csv
containing Name - Gender - Train the model using tensorflow (keras) - More details in
LSTM.ipynb
- Export the model to
model
folder (in JSON format) - Import it into
tensorflowjs
on web
Changelog
v2.0: tokenize by charater instead of word
v1.0: initial version, tokenize by word
Author
- ngxson (Nui Nguyen)
- Email: contact at ngxson dot com
- My website: https://ngxson.com
Built With
- css
- html
- javascript
- jupyter-notebook
Log in or sign up for Devpost to join the conversation.