Updated test for msle
This commit is contained in:
parent
7710bb0b4b
commit
659ba074d1
@ -21,8 +21,8 @@ const ϵ = 1e-7
|
|||||||
@test Flux.huber_loss(ŷ, y) ≈ 0.0012499999999999994
|
@test Flux.huber_loss(ŷ, y) ≈ 0.0012499999999999994
|
||||||
end
|
end
|
||||||
|
|
||||||
y = [123,456,789]
|
y = [123.0,456.0,789.0]
|
||||||
y1 = [345,332,789]
|
y1 = [345.0,332.0,789.0]
|
||||||
@testset "msle" begin
|
@testset "msle" begin
|
||||||
@test Flux.msle(y1, y) ≈ 0.38813985859136585
|
@test Flux.msle(y1, y) ≈ 0.38813985859136585
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user