hoag icon indicating copy to clipboard operation
hoag copied to clipboard

about some numbers

Open dyt0414 opened this issue 4 years ago • 3 comments

hi i have read the paper and the code, and i think it is very cool! But i have some questions about the code. What are the meanings of the numbers , such as ''zeros(2mn + 5n + 11mm + 8m, float64)'', in the hoag.py around line 74?

dyt0414 avatar Dec 06 '20 04:12 dyt0414

these are taken from the implementation of lbfgs in scipy, see for example https://github.com/scipy/scipy/blob/v1.5.4/scipy/optimize/lbfgsb.py#L337

On Sat, Dec 5, 2020 at 11:47 PM dyt0414 [email protected] wrote:

hi i have read the paper and the code, and i think it is very cool! But i have some questions about the code. What are the meanings of the numbers , such as ''zeros(2mn + 5n + 11m*m

  • 8*m, float64)'', in the hoag.py around line 74?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fabianp/hoag/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACDZBZ7HFD4GPTCINNRKATSTMEHHANCNFSM4UPBRCKA .

fabianp avatar Dec 06 '20 19:12 fabianp

Thank you so much! I access the lbfgs example in scipy, but there is no explanation too, so I track the paper which the example cites. I found the paper is hard to understand, so I try to ignore the explicit meaning of the numbers, and wonder whether these numbers are fixed in most situation the lbfgs used?

dyt0414 avatar Dec 08 '20 08:12 dyt0414

Yes, that's right. They're fixed

On Tue, Dec 8, 2020, 03:23 dyt0414 [email protected] wrote:

Thank you so much! I access the lbfgs example in scipy, but there is no explanation too, so I track the paper which the example cites. I found the paper is hard to understand, so I try to ignore the explicit meaning of the numbers, and wonder whether these numbers are fixed in most situation the lbfgs used?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fabianp/hoag/issues/1#issuecomment-740463998, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACDZBZASYHAX3NMNCE7D4LSTXPA3ANCNFSM4UPBRCKA .

fabianp avatar Dec 08 '20 11:12 fabianp