Submitted by Alex-S-S t3_zh69o0 in MachineLearning
Is there a way to make a neural network that performs only regression to estimate its own error at inference time, without having ground truths for reference?
My network predicts N points and I know the [x,y] coordinates for each. On a labeled test set I can compute the distance between each point and the ground truths, however, I want the network to be able to estimate these distances by itself.
I do not have separate classes, the network is trained using just the L2 loss between its predicted points and the expected ground truth points.
Fancy_Traffic7435 t1_izkikl5 wrote
Can you? Sure. Should you? Not sure about that.
If you think of neural networks as underlying probability distributions, then estimating the error of your regression as single values can seem misleading, as the true error actually lies within a distribution of predicted errors. Going off of that, it would be better to analyze the distribution of your errors in relation to your predictions.