ReactiveBayes / ExponentialFamilyProjection.jl

A library to project an arbitrary function to an exponential family member distribution with the manifold optimization
MIT License
9 stars 0 forks source link

implement record keyword #11

Closed Nimrais closed 4 months ago

Nimrais commented 4 months ago

This PR adds a record keyword to project_to that is passed gradient_descent! inside to record cost values.

A new test added that cost is actually decreasing trough iterations.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.00%. Comparing base (8f7e181) to head (c2c8070).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev-bounded-direction #11 +/- ## ====================================================== Coverage 99.00% 99.00% ====================================================== Files 5 5 Lines 201 201 ====================================================== Hits 199 199 Misses 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.