Giter Club home page Giter Club logo

Comments (4)

vittoriom avatar vittoriom commented on May 19, 2024

Forget about it, just noob initialization of the weights.

from swift-ai.

collinhundley avatar collinhundley commented on May 19, 2024

Glad you got it figured out. Initializing the weights as nil will automatically assign random weights, although it currently only works well for Sigmoid activation.

It sounds like you're using the MNIST training set. I've had good results training FFNN with that set, and I'm preparing an example for it that will be finished soon. Check out the iOS example project - I update it daily and it includes some neat features. The handwriting recognition part is almost done.

from swift-ai.

vittoriom avatar vittoriom commented on May 19, 2024

Ah, that's kind of good to know (that means we're working on the same thing at the same time, so not so good :D ), interested to see what will come out! Will check the iOS example project in a few days

from swift-ai.

collinhundley avatar collinhundley commented on May 19, 2024

I'm only writing it for iOS right now. If you're writing an OS X version, that will be great to have. I'll move the MNIST data to the Examples directory so it's accessible for both apps (so we don't package two copies).

I'm adding Softmax activation to FFNN right now. It will be useful for handwriting recognition, since it helps with classification problems.

from swift-ai.

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.