Updated test for tversky

This commit is contained in:
Adarsh Kumar 2020-03-02 13:46:33 +05:30 committed by GitHub
parent 89d07c07ec
commit 5565250c28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ const ϵ = 1e-7
@testset "tversky_loss" begin @testset "tversky_loss" begin
@test Flux.tversky_loss(y,y1) 0.028747433264887046 @test Flux.tversky_loss(y,y1) 0.028747433264887046
@test Flux.tversky_loss(y,y1,0.8) 0.050200803212851364 @test Flux.tversky_loss(y,y1,beta = 0.8) 0.050200803212851364
@test Flux.tversky_loss(y,y) -0.5576923076923075 @test Flux.tversky_loss(y,y) -0.5576923076923075
end end