# model parameters print('Intercept: {0:.5f}'.format(linear_model.intercept_[0])) print('Slope : {0:.5f}'.format(linear_model.coef_[0][0]))