An annotated notebook (right-click and Download as 07-Regression1/Diamonds.ipynb) has been prepared, based on existing published notebooks but with enhancements a) to include new features and b) to provide extra explanations of what is happening.
The workbook includes two short exercises:
Note that centring data by its mean is generally good advice
The data file (right-click and Download as 07-Regression1/data/diamond.dat.txt) is available.