# fit the model to the existing data with lm.fit(x,y) linear_model.fit(x_input, y_output)