Relative Content

Tag Archive for machine-learningkerasdeep-learningneural-networkconv-neural-network

How do I define/change the accuracy for a non-classification convolutional neural network?

I’m currently using Keras to make a prediction model. It takes in two time series and outputs a number between 0 and 1. Currently, I am getting very low accuracy as the model is only considered “correct” if it gets the exact number. For example, the correct number is 0.34, it would be considered incorrect if it predicted 0.35. I want to be able to consider all numbers within a range to be correct, for example: within 0.05 of the true value. Another option may be to round, but I have the problem of it outputting 6 decimal places.