Property | Type | Description | |
---|---|---|---|
$number_of_points | number | Number of points considered in the local regression | |
$α | number | Smoothness parameter | |
$λ | integer | Order of the polynomial fit |
Method | Description | |
---|---|---|
__construct ( array $points, number $α, integer $λ ) | ||
evaluate ( number $x ) : number | Evaluate for x Use the smoothness parameter α to determine the subset of data to consider for local regression. Perform a weighted least squares regression and evaluate x. |
protected number $number_of_points | ||
return | number |