JuliaDecisionFocusedLearning / InferOpt.jl

Combinatorial optimization layers for machine learning pipelines
https://juliadecisionfocusedlearning.github.io/InferOpt.jl/
MIT License
113 stars 4 forks source link

Add tests checking rrules gradients against finite differences #87

Open BatyLeo opened 12 months ago

BatyLeo commented 12 months ago

We should add some tests checking that gradients computed by our rrules are correct. For this, we can use FiniteDifferences.jl or ChainRulesTestUtils.jl.

gdalle commented 10 months ago

The thing is, our gradients will never be correct cause there are no correct gradients