If a neural network has learned to calculate the median of n inputs, how can it calculate the median of even more inputs?
First of all, you must understand the use of a neural network. We usually use a neural network in problems where a mathematical solution is impossible. In this problem, the use of NN is not significant / impractical.
There are other problems of this nature, such as forecasting, in which continuous data arrive over time.
One solution to this problem could be a hidden Markov model (HMM). But again, such models depend on the correlation between the input over a certain period of time. Thus, this model is ineffective for problems when the input is completely random.
So, if the input is completely random, and the need for memory grows
, .
: NN . , .