I am training linear regression model using a data-set which has real valued labels in the interval [0,10]. My predicted values on the test set have some predictions exceeding 10. Is there a way to cap the predictions to 10.
I am thinking of doing a conditional check such that if a prediction exceeds 10, I explicitly set it to 10.
Is there a better way?