GithubHelp home page GithubHelp logo

Comments (1)

AFAgarap avatar AFAgarap commented on September 17, 2024

Using the same GRU+SVM model, but now, with Dropout, here's the result on MNIST dataset:

Epoch : 0 completed out of 10, loss : 183.0938720703125, accuracy : 0.87109375
Epoch : 1 completed out of 10, loss : 83.48553466796875, accuracy : 0.953125
Epoch : 2 completed out of 10, loss : 96.95372009277344, accuracy : 0.94921875
Epoch : 3 completed out of 10, loss : 36.80517578125, accuracy : 0.984375
Epoch : 4 completed out of 10, loss : 57.431053161621094, accuracy : 0.97265625
Epoch : 5 completed out of 10, loss : 31.22872543334961, accuracy : 0.98046875
Epoch : 6 completed out of 10, loss : 33.04032516479492, accuracy : 0.98046875
Epoch : 7 completed out of 10, loss : 31.262266159057617, accuracy : 0.984375
Epoch : 8 completed out of 10, loss : 20.89887046813965, accuracy : 0.98828125
Epoch : 9 completed out of 10, loss : 26.805370330810547, accuracy : 0.98828125
Accuracy : 0.9761001467704773

The following were the hyper-parameters used:

BATCH_SIZE = 256
CELL_SIZE = 256
DROPOUT_P_KEEP = 0.85
EPOCHS = 10
LEARNING_RATE = 1e-3
SVM_C = 1

Trained using tf.train.AdamOptimizer(), and used tf.nn.dynamic_rnn(). The source may be found here.

from fashion-mnist.

Related Issues (20)

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.