Skip to main content

Module gradient

Module gradient 

Source
Expand description

Entropy gradient descent: suggest code changes that reduce H.

Split large functions, add missing tests, reduce branching.

Structs§

GradientDescent
Engine for computing entropy-reducing suggestions.
GradientSuggestion
A concrete suggestion for reducing verification entropy.

Functions§

descend
Simulate one step of entropy gradient descent. Returns updated probability distribution after a step of size lr.