[R] Learning multiplication outside of training data range
I want to train an MLP to multiply two inputs. The easiest approach is to generate a vast dataset of numbers and their multiplication and train the network on them.
I did this as a test and the MLP worked nearly flawless and long as I gave it numbers inside the training range but as soon as I deviated from the training domain the network started malfunctioning.
I wanted to know if there is an architecture which can learn the semantics of multiplication and act properly outside its training domain.
submitted by /u/neltherion