Skip to content

Commit

Permalink
Remove forgotten log (#113)
Browse files Browse the repository at this point in the history
Thank you!
  • Loading branch information
romsar authored Nov 18, 2022
1 parent 70e4e65 commit c5c6b9e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions regression.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@

package indicator

import (
"log"
)

// Least square.
//
// y = mx + b
Expand Down Expand Up @@ -97,8 +93,6 @@ func MovingLinearRegressionUsingLeastSquare(period int, x, y []float64) []float6
m, b := MovingLeastSquare(period, x, y)

r := make([]float64, len(x))
log.Println(m)
log.Println(b)

for i := 0; i < len(r); i++ {
r[i] = (m[i] * x[i]) + b[i]
Expand Down

0 comments on commit c5c6b9e

Please sign in to comment.