I've been dabbling with machine learning and neural networks (namely, resnet50) for a few months now, mostly doing image recognition. I am currently trying to make a program that, given a string of numbers as input, can predict the next number in this sequence. For example, the input could be
1, 2, 3, 4 and the output should be
I read something that said this could be done with a multilayer perceptron neural net, but that didn't elaborate much.
Any ideas, or links to tutorials/code?