This would be a POC, maybe useful for other important libs. Perhaps just save a pickle (but then document what needs not to change) + something less faithful but more durable, like a yaml. With these historical infos, write a "differences of API between versions" report as sketched here:
|
# TODO: store a history of this (maybe pickle) that can help supporting more easily new sklearn versions |
|
# So report too: |
|
# - changes in required parameters |
|
# - new parameters |
|
# - removed parameters |
|
# - changes in parameter default values |
|
# Plus some automatic way to try to catch errors in my definition of non-id values |
|
# This is WIP until then |
This would be a POC, maybe useful for other important libs. Perhaps just save a pickle (but then document what needs not to change) + something less faithful but more durable, like a yaml. With these historical infos, write a "differences of API between versions" report as sketched here:
whatami/whatami/wrappers/what_sklearn.py
Lines 697 to 704 in fcb58c3