Repository navigation
BUG: Remove change of global pickle method - #4963
Conversation
|
+1 |
56b9766 to
fb6787e
Compare
Codecov Report
@@ Coverage Diff @@
## master #4963 +/- ##
==========================================
+ Coverage 81.41% 81.43% +0.01%
==========================================
Files 581 581
Lines 90277 90271 -6
Branches 10101 10103 +2
==========================================
+ Hits 73503 73508 +5
+ Misses 14485 14478 -7
+ Partials 2289 2285 -4
Continue to review full report at Codecov.
|
bf0860f to
eaabf14
Compare
Refactor PCA and Kernel methods to avoid instance methods Remove buggy pickling method change in functional graphics closes statsmodels#4772
eaabf14 to
064c5c3
Compare
|
It was added to allow pickling of instances from what I can tell. Instances that use dicts to hold functions can't be trivially pickled and so these should be avoided. It would be a good idea to test pickling everything model in the api and every result to avoid these issues in the future. |
|
We have pickling and |
The only remaining special cases that come to mind are
The current implementation of |
|
I don't remember why the wrapper also has load save, I guess it is because we also need to pickle the wrapper class and not just the underlying results class. The advantage of the current implementation is that it is "boring", i.e. it's conceptually very simple and we mainly need to check that everything is in the white lists. I didn't check: I think ZeroInflated and similar models will most likely not work correctly with |
Refactor PCA and Kernel methods to avoid instance methods
Remove buggy pickling method change in functional graphics
closes #4772