Giter Site home page Giter Site logo

Time series about brain.js HOT 9 CLOSED

lodenrogue avatar lodenrogue commented on April 28, 2024
Time series

from brain.js.

Comments (9)

robertleeplummerjr avatar robertleeplummerjr commented on April 28, 2024 1

Awesome! The feed forward networks (the current brain.js neural net) won't be able to give a reliable prediction (arguably) because it is trained by what would be easily described as a sort of frozen state, for example: if I were to say "parchment", you'd be like: "that was odd to say, what did he mean by that?".
That being said, it is how a feed forward neural network... work, they don't really have a memory of what is going on to give it a context.
However, a recurrent neural network can recall what is going on. If you are still reading this you will remember I said the word "parchment", and may be further intrigued at where I am going with it. I am not, other than to illustrate that memory is very powerful, especially in predictions.
However (and this brings me a lot of pleasure) the recurrent neural network that is being worked on here has a handy little method... interestingly called "predict", which I believe is what could be used in this scenario.
This code is actively being worked on, but would probably give you a pretty good prediction.

The code is being honed to not only be a "hey look what neural networks can do!" but also be enterprise ready. If we can get the pseudo csv data mentioned above fed into the neural net, certainly a predictive state could be had.

from brain.js.

robertleeplummerjr avatar robertleeplummerjr commented on April 28, 2024 1

It will be runs 100% able to run in browser.

from brain.js.

robertleeplummerjr avatar robertleeplummerjr commented on April 28, 2024

Can you give me an example?

from brain.js.

lodenrogue avatar lodenrogue commented on April 28, 2024

Weather forecasts, financial predictors, trends. It takes previous entries into consideration when calculating the output.

from brain.js.

robertleeplummerjr avatar robertleeplummerjr commented on April 28, 2024

Do you have a dataset we could work with?

from brain.js.

lodenrogue avatar lodenrogue commented on April 28, 2024

This is a very simple example: https://archive.ics.uci.edu/ml/datasets/Dow+Jones+Index

from brain.js.

lodenrogue avatar lodenrogue commented on April 28, 2024

Wow this is excellent! I'm going to give this a try as soon as I can. Thank you for all that information. It really puts everything into perspective.

Edit: Is there a standalone rnn.js for the browser?

from brain.js.

robertleeplummerjr avatar robertleeplummerjr commented on April 28, 2024

FYI: https://github.com/harthur-org/brain.js/blob/recurrent/browser.js#L1590
A unit test that predicts maths: https://github.com/harthur-org/brain.js/blob/recurrent/test/recurrent/lstm.js#L15

from brain.js.

robertleeplummerjr avatar robertleeplummerjr commented on April 28, 2024

The whole library is available here:
https://github.com/harthur-org/brain.js/blob/master/browser.js
and https://github.com/harthur-org/brain.js/blob/master/browser.min.js

These are built frequently, usually when committing. I'm currently working to reduce the complexity of the recurrent neural net, but it is now running in browser, and is fairly stable.

from brain.js.

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.