Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Coding for Fun: Multilayer Perceptron

    Functions
    3
    4
    671
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Chronos
      Chronos last edited by

      Hi everyone,

      I made a little project for machine learning. It uses lists of vectors to try to speed up the math here and there. (i.e., the inputs could be [{1,2,3,4}, {5,4,3,2}] for 8 inputs.

      One purpose of machine learning is to make something generate valid outputs from new inputs.

      In this case, I used a very small subset of integer numbers, and this perceptron is trained to add/subtract all numbers one frame at a time.

      The foundation is intended to handle any number of layers that the memory can handle (and includes backpropagation).

      You could use my file system/serialization package to store the weights if you have a more advanced purpose for it (you'll probably change the activation function and the corresponding derivative function to something based on what you are teaching it).

      ID: NXKRY6QDN5

      Jason

      Ben 2.0 1 Reply Last reply Reply Quote 4
      • vinicity
        vinicity F last edited by

        Very cool! Will you whip up a demo of this, so one could get an example for how it can be used practically?

        1 Reply Last reply Reply Quote 0
        • Ben 2.0
          Ben 2.0 @Chronos last edited by

          @chronos I know it would be silly but a simple game like flappy bird might be the perfect example for this. There are not too many inputs and the only outputs are to flap or not.

          1 Reply Last reply Reply Quote 0
          • Chronos
            Chronos last edited by

            I made it learn to hit a target that moves at different speeds at different heights.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post