title: Calculating accuracy scores of predicted continuous values
body: <pre><code>from sklearn.metrics import accuracy_score
  accuracy_score(y_true, y_pred)
  </code></pre>
  <p>I believe this code will return the accuracy of our predictions. However, I am comparing predicted and actual values of continuous values and I believe that most of them are not going to be exactly same.</p>
  <p>Should I fit the test set values and plot the predicted values to get the R-squared?</p>
  <p>Can anyone please advise me on how to measure the accuracy of predictions in the case of continuous variables?</p>