J
J
Jourloy2019-06-15 23:13:25
Python
Jourloy, 2019-06-15 23:13:25

How to predict a number using Python?

Let's say I have some array of numbers, for example:
1, 3, 5, 7, 9, 11, etc.
As you can see, the numbers increase by 2 with each step. How to "guess" the next number with python (or which libraries to learn).
I would like to note that the change will not be permanent, that is, first +1, and then +5, so it is necessary through machine learning (or perhaps there is a better option)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Neizvestnyj, 2019-10-09
@Jourloy

https://itnan.ru/post.php?c=1&p=351454 Here in the middle of the article about random, using this algorithm, you can predict a pseudo-random number. The article also presents other algorithms used in Google, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question