Change lambda parameter in Loess
This commit is contained in:
parent
d98003fc0e
commit
c578efe28d
@ -7,7 +7,7 @@ import Data.Vector.Unboxed((!), zipWith, length, (++), map)
|
|||||||
import Statistics.Matrix(transpose)
|
import Statistics.Matrix(transpose)
|
||||||
|
|
||||||
lambda :: Double
|
lambda :: Double
|
||||||
lambda = 1.0
|
lambda = 2.0
|
||||||
|
|
||||||
triCube :: Double -> Double
|
triCube :: Double -> Double
|
||||||
triCube d = (1.0 - (abs d) ** 3) ** 3
|
triCube d = (1.0 - (abs d) ** 3) ** 3
|
||||||
|
Loading…
Reference in New Issue
Block a user