Number predict javascript
-
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? -
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
-
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. -
@hashan well, Then can you explain the array sequense of your problem?
-
without lib ? why ?