Cognitive map for predicting univariate time-series using ADAM optimization. Coded from scratch without any help of machine learning libraries.