Skip to content

Commit

Permalink
added note about inverse bounds matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmason42 committed May 17, 2018
1 parent f1b80d2 commit 2b7ac7e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,11 @@ def estimate_parameters(
(bounds_matrix, lowerbounds, upperbounds) = build_bounds(naive)
inverse_bounds_matrix = np.linalg.pinv(bounds_matrix)

# TODO: if the bounds become more sophisticated, use the calculation for
# the bilevel elementwise pseudoinverse to acquire the inverse bounds
# reprojection vectors. right now it isequivalent to the normal
# pseudoinverse

if FORCE_BETTER_INIT:
init_lowerbounds = bounds.LOWERBOUNDS
init_upperbounds = bounds.UPPERBOUNDS
Expand Down

0 comments on commit 2b7ac7e

Please sign in to comment.