comment update
This commit is contained in:
parent
b41d05a2f4
commit
64d2ef25c7
1 changed files with 1 additions and 2 deletions
|
@ -100,8 +100,7 @@ func (prs *PolynomialRegressionSeries) GetValue(index int) (x, y float64) {
|
|||
return
|
||||
}
|
||||
|
||||
// GetLastValue computes the last moving average value but walking back window size samples,
|
||||
// and recomputing the last moving average chunk.
|
||||
// GetLastValue computes the last poly regression value.
|
||||
func (prs *PolynomialRegressionSeries) GetLastValue() (x, y float64) {
|
||||
if prs.InnerSeries == nil || prs.InnerSeries.Len() == 0 {
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue