Experiments with multiple matrix operations, reduce ops and slices through ndarrays. Experiments like these take a lot of time. To shed some light I used Particle Swarm Optimization algorithm for optimize Neural Networks and others Machine learning models Parameters. These were applied to the problem of time series forecasting. there is some component of linear algebra (matrix and vector operations), loops through data, sliding window and lots of parameters combinations parameters and datasets.