-
Notifications
You must be signed in to change notification settings - Fork 14
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
Remove magic numbers #7
Comments
Hi Rene! Speaking of magic numbers, can you explain where the value of
|
I hope the Glossary in the notebook of https://github.com/renepickhardt/mpp-splitter/blob/pickhardt-payments-simulation-dev/Pickhardt-Payments-Simulation.ipynb would be helpful to give the answers (I plan to migrate this to a glossary file in this repo). The reason behind that number explained in this notebook: https://github.com/renepickhardt/mpp-splitter/blob/master/Minimal%20Linearized%20min%20cost%20flow%20example%20for%20MPP.ipynb TL;DR: the uncertainty cost Note that the additional The problem of this issueOf course I could easily alsways take the currently max observed channel size but the problem is that my choice of |
Currently we have magic numbers in the code. For example:
https://github.com/renepickhardt/pickhardtpayments/blob/main/pickhardtpayments/UncertaintyChannel.py#L32 specifies
MAX_CHANNEL_SIZE = 15_000_000_000 # 150 BTC
this is completely arbitrary and fits the current Lightning Network but chaning this may be necessary in the future but has an impact on the learnt weights in feature engineering.
I guess this is also related to feature engineering in general
The text was updated successfully, but these errors were encountered: