Next we train the model using our training dataset, to decide the linear regression parameters that best fit this data: