Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop

    Number predict javascript

    General Discussion
    javascript javaarraylist javascript basi
    3
    5
    905
    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.
    • hashan
      hashan Web Development last edited by

      I want to predict the next number by analysing a array of random number sequence in javascript without libraries. How can i do this ?
      Ex : array = [ 27, 35, 19 ,7 ,59, 45 ] what number is next?

      root 1 Reply Last reply Reply Quote 0
      • b6
        b6 last edited by b6

        Prediction is a part of ML and AI. You need to train your algorithm with data and patterns to analyse. This is called machine learing. There are few ML frameworks are available. Those are specially designed for Data Analytics and Machine Learning. You can't do it with vanilla script. If you want, You need to create your own ML framework your self.

        Learn Tensoflow.js

        1 Reply Last reply Reply Quote 0
        • hashan
          hashan Web Development last edited by

          i know about ML bro, but for my project expect a own work, without libraries or frameworks. i found a javascript library called brain.js ; it is vey easy than tensorflow.js; this problem can easily solve with it. but i wish a simple algorithm for this only with js. according to the situation i will use brain.js instead of my own algorithm.
          thanks.

          b6 1 Reply Last reply Reply Quote 0
          • b6
            b6 @hashan last edited by

            @hashan well, Then can you explain the array sequense of your problem?

            1 Reply Last reply Reply Quote 0
            • root
              root Linux Help @hashan last edited by

              @hashan

              without lib ? why ?

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

              0
              Online

              3.7k
              Users

              1.3k
              Topics

              5.3k
              Posts

              • Privacy
              • Terms & Conditions
              • Donate

              © Copyrights and All right reserved Lanka Developers Community

              Powered by Axis Technologies (PVT) Ltd

              Made with in Sri Lanka

              | |