Task 1: Fitting the models
- Run the cell below to create the inputs
x_range
and the noisy outputsy_noisy
- Use the
iterate_fit()
function to fit a 2nd-order polynomial to the generated inputs and outputs. Fit the model 100 times, sampling 20 points as the training data in each iteration.
Hint
Observe the output of the iterate_fit()
function and ensure that all variables are created accordingly.