M
M
Makc_Vvv2021-02-18 12:36:18
numpy
Makc_Vvv, 2021-02-18 12:36:18

How to make simple Numpy code?

I'm interested in the NumPy code, I would like to try to implement a prediction calculation.

Essence: Training takes place on 10-15 data inputs using the "function", in subsequent times the code should assume what number will be displayed on the console and wait for a new number.

import random
random.seed()
...
#"Функция" x10 или x15
random.randint(0,1) 
...


Please help me, how can I implement this, are there already examples of this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrei1penguin1, 2021-02-18
@Andrei1penguin1

You are trying to dive into neural networks, your problem is solved by a simple perceptron
. I think this article will help you:
https://neurohive.io/ru/tutorial/prostaja-nejronna...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question