Measure the Performance of a Predictor
Train a predictor that predicts the median value of properties in a neighborhood of Boston, given some features of the neighborhood.
| In[1]:= |  X | 
| Out[1]= |  | 
Get data on the performance of the predictor on a test set.
| In[2]:= |  X | 
| Out[2]= |  | 
Compare the predicted values with the actual values.
| In[3]:= |  X | 
| Out[3]= |  | 
Plot the residuals.
| In[4]:= |  X | 
| Out[4]= |  | 
Compute the standard deviation of the predicted values from the actual values (root mean square of the residuals).
| In[5]:= |  X | 
| Out[5]= |  | 
Plot a histogram of the residuals.
| In[6]:= |  X | 
| Out[6]= |  | 














 
  
  
  
 