Lines Matching refs:intercept
97 LinearRegression(slope=0.1, intercept=1.5)
1024 LinearRegression = namedtuple('LinearRegression', ('slope', 'intercept'))
1028 """Slope and intercept for simple linear regression.
1030 Return the slope and intercept of simple linear regression
1035 y = slope * x + intercept + noise
1037 where *slope* and *intercept* are the regression parameters that are
1049 LinearRegression(slope=3.09078914170..., intercept=1.75684970486...)
1055 Since the *intercept* will always be 0.0, the underlying linear
1062 LinearRegression(slope=3.02447542484..., intercept=0.0)
1082 intercept = 0.0 if proportional else ybar - slope * xbar
1083 return LinearRegression(slope=slope, intercept=intercept)