Skip to content

Commit

Permalink
test: allow equal best loss
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Feb 13, 2025
1 parent 85e466e commit 69abc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/parameterized_function.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ ypred2 = predict(mach, (data=X, idx=idx2))
loss2 = sum(i -> abs2(ypred2[i] - y[i]), eachindex(y)) / length(y)

# Should get better:
@test loss1 > loss2
@test loss1 >= loss2

0 comments on commit 69abc94

Please sign in to comment.