Skip to content
Advertisement

Tag: keras

How do you compute accuracy in a regression model, after rounding predictions to classes, in keras?

How would you create and display an accuracy metric in keras for a regression problem, for example after you round the predictions to the nearest integer class? While accuracy is not itself effectively defined conventionally for a regression problem, to determine ordinal classes/labels for data, it is suitable to treat the problem as a regression. But then it would be

Advertisement