Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement variance reduction for Reinforce #12

Merged
merged 7 commits into from
Jun 26, 2024
Merged

Conversation

BatyLeo
Copy link
Member

@BatyLeo BatyLeo commented Jun 25, 2024

Implement variance reduction from https://openreview.net/pdf?id=r1lgTGL5DE for Reinforce.

Enable it by default, and add a keyword argument in the constructor to allow disabling it.

Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
src/reinforce.jl 100.00% <100.00%> (ø)

@BatyLeo BatyLeo linked an issue Jun 25, 2024 that may be closed by this pull request
@BatyLeo BatyLeo requested a review from gdalle June 25, 2024 15:14
src/reinforce.jl Outdated Show resolved Hide resolved
test/expectation.jl Outdated Show resolved Hide resolved
@gdalle
Copy link
Member

gdalle commented Jun 26, 2024

Oops I broke the tests, will fix them in an hour or so

src/reinforce.jl Outdated Show resolved Hide resolved
@gdalle gdalle merged commit 87382ee into main Jun 26, 2024
3 checks passed
@gdalle gdalle deleted the variance-reduction branch June 26, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Variance reduction
2 participants