GithubHelp home page GithubHelp logo

jhyuklee / ethnicity-tensorflow Goto Github PK

View Code? Open in Web Editor NEW
31.0 31.0 15.0 1.09 MB

IJCAI'2017: Name Nationality Classification with Recurrent Neural Networks

Home Page: https://www.ijcai.org/proceedings/2017/0289

Python 100.00%

ethnicity-tensorflow's People

Contributors

jhyuklee avatar nowkim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ethnicity-tensorflow's Issues

Testing Data

Hello There, I just read your paper, it is very informative and helpful. I just want to know that why the data_ijcai_author has been used as the testing dataset and not the file data_raw_test?

As the system is not able to read the data_ijcai_author for some reason unknown, so i wanted to ask if we can use the data_raw_test file as its replacement?

Thanks in advance

Output of the LSTMs

Hi there, thanks for being so helpful with my last issue.
The one I am having right now that, I don't know tensorflow yet. I am working my way through your code.

  1. Its a silly question from my side, but still I would like to know that whenever you are passing n-grams to the corresponding LSTM model, then are you collecting the ouputs of all the time steps to forward em to the linear layer or only the last output of the LSTM for that?

  2. The padding that you have done for making the LSTM outputs of same size for all the data points via tf.gather(which has a very interesting and a particular way of padding the input based on the max_time_step), does it needs to be padded that way only or you can we pad it in other ways as well?

Run into error (unsupported operand type(s)

I know, I am maybe a little late to the party, but hoefully you can still help me out.
I am relativly new to python, but would still highly appreciate being able to use your work.

Unfortunately after running python main.py I encounter the following error:

'''
File "main.py", line 136, in main
saved_params['checkpoint_dir'] += model_name
TypeError: unsupported operand type(s) for +=: 'Flag' and 'str'
'''

I am also not 100% sure, how to provide / specify the input data (the names for which the nationality should be predicted).

Hopefully you can help me a little.
Thank you in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.