I
I
Ivan Samorukov2020-08-02 12:35:16
Neural networks
Ivan Samorukov, 2020-08-02 12:35:16

How can I set a condition for the output of a machine learning model?

Knowledgeable people, tell me, please. regression problem. There is an array of input parameters, the output is 10 numerical values. How can you set a condition so that the sum of these 10 output values ​​\u200b\u200bis equal to a single known parameter?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dmshar, 2020-08-02
@dmshar

As mentioned above - nothing is clear from the description.
But!
If you need to ensure that some ten numbers add up to the number Z, then this is done simply |tZ|->min, where t is the sum of these ten numbers. And this should be the final layer of your neural network. But the previous layers should solve their problems (I can assume that regressions). Those. typical multilayer network.
I hope I at least "pulled my way" through the haschi of your description in the right direction.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question