I'm using TensorFlow to label time series using an LSTM, such that the labels to attribute to each timestep in the data are floats comprehended between -1 and +1.

I'm struggling to find an adequate cost function for the problem. I have tried the following cost functions:

Is there a better cost function I can use in order to obtain not only magnitude, but also shape similarity for the predicted labels?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.