Defining the Model When we implemented linear regression from scratch in :numref: sec_linear_scratch, we defined our model parameters explicitly and coded up the calculations to produce output using ...