lifelib-dev / lifelib

Python package of actuarial models, tools, examples and learning materials.
https://lifelib.io
MIT License
152 stars 45 forks source link

benchmark inconsistency in notebook on profiling and optimizing #77

Open declann opened 2 months ago

declann commented 2 months ago

A little inconsistency in the notebook on profiling and optimizing the savings model:

image

Table and text are inconsistent. There is still a significant performance improvement when I run now: but it's more like ~16% down to ~8% (with a fair amount of variance)

fumitoh commented 2 months ago

Thanks! Would you care to PR? (Updating the text and rerunning the whole thing.)

declann commented 1 month ago

Can do soon! (when I get around to do some environment setup)