[Solved] Python Tflearn machine learning Optimiser, loss and parameters


What you are trying to do is called time series prediction (given data at time t-n, t-(n+1) … t-1: predict the state at time t) and is generally a task for a recurrent neural network. Here is the great blog post by Andrej Karpathy about the topic that you should have a look at.

About your two questions:

  1. This is hard to answer since the question of what optimizer to use highly depends on the input data. Generally speaking the network will converge no matter what optimizer you use. The time it takes to converge will differ however. Adaptive learning-rate methods, like Adagrad, Adadelta, and Adam tend to achieve convergence slightly faster. Here is a good write-up of the different optimizers.

  2. Basic neural networks (MLPs) don’t do well with time series prediction. That would be an explanation for the low accuracy. However I don’t know why the loss would be 0.

5

solved Python Tflearn machine learning Optimiser, loss and parameters