Giter VIP home page Giter VIP logo

fizz-buzz-tensorflow's Introduction

fizz-buzz-tensorflow

fizz buzz in tensorflow

see http://joelgrus.com/2016/05/23/fizz-buzz-in-tensorflow/

if you're interested in the WrangleConf talk I gave, look in the wrangle folder.

if you're interested in the PyData Chicago talk I gave, look in the pydata-chicago folder

if you're interested in the ODSC West talk I gave, also look in the pydata-chicago folder, it's the exact same code (but fresher slides!)

fizz-buzz-tensorflow's People

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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

fizz-buzz-tensorflow's Issues

Non Linearity in output layer stops learning

Hi Joelgrus,
First of all, thanks a ton for your astonishing work. I was playing around with the network and found that the non-linearity in the output layer (sigmod or softmax) would stop the learning process. How much ever I train the network, its not learning anything. Cost is not going down and accuracy is not going up. Any thoughts?

Needs update for Tensorflow 1.x

In Tensorflow 1.0.0, throws

File "fizzbuzz.py", line 52, in <module>
    cost = tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits(py_x, Y))
  File "/Users/mstraeubig/miniconda3/envs/tensorflow3/lib/python3.6/site-packages/tensorflow/python/ops/nn_ops.py", line 1578, in softmax_cros
s_entropy_with_logits
    labels, logits)
  File "/Users/mstraeubig/miniconda3/envs/tensorflow3/lib/python3.6/site-packages/tensorflow/python/ops/nn_ops.py", line 1533, in _ensure_xent
_args
    "named arguments (labels=..., logits=..., ...)" % name)
ValueError: Only call `softmax_cross_entropy_with_logits` with named arguments (labels=..., logits=..., ...)

due to API changes. Running tf_upgrade.py fixes this.

Different approach proposal

I think it may work better if you solve problem different way.
Instead creating 1 input it may be better to split number in separate digits.
I think it is more probable for network to detect divisibility rules with that input.

Is this project dead?

Last contribution was about a year ago and vital issues are still left open.

Is this project going to receive further support?

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.