def _compute_smooth_during_construction(self, xi):
if self._variance_in_window:<EOL><INDENT>beta = self._covariance_in_window / self._variance_in_window<EOL>alpha = self._mean_y_in_window - beta * self._mean_x_in_window<EOL>value_of_smooth_here = beta * (xi) + alpha<EOL><DEDENT>else:<EOL><INDENT>value_of_smooth_here = <NUM_LIT:0.0><EOL><DEDENT>return value_of_smooth_here<EOL>
Evaluate value of smooth at x-value xi.

Parameters
----------
xi : float
    Value of x where smooth value is desired

Returns
-------
smooth_here : float
    Value of smooth s(xi)