资源算法LSTM to predict gender of a name

LSTM to predict gender of a name

2019-09-19 | |  138 |   0 |   0

Simple LSTM based Gender Predictor

Predict the gender of a name using LSTM

Requirements: * keras * h5py

How to use :

To train the model:

THEANO_FLAGS=device=gpu,floatX=float32 python train_genders.py

Command to see test the trained results:

python genderAPI.py <male_textfile> <female_textfile>


上一篇:poisson-convolution-sum

下一篇:Character-level CNN Text Classification

用户评价
全部评价

热门资源

  • allennlp-server

    allennlp-server Serve allennlp services as sep...

  • allennlp_extras

    allennlp_extras Some utilities build on top of...

  • qp_testing

    qp_testing mkdir build cd build cmake .. make

  • allennlp-speech

    allennlp-speech

  • allennlp-dureader

    An Apache 2.0 NLP research library, built on Py...