title: Capping linear regression prediction values using scikit
body: <p>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. </p>
  
  <p>I am thinking of doing a conditional check such that if a prediction exceeds 10, I explicitly set it to 10.</p>
  
  <p>Is there a better way?</p>