Release 0.3.0
This release brings a new persistence model which doesn't use pickle. It should still be used with caution, but we're more than happy for users to test it and report issues back.
We also have numerous documentation, Hugging Face Hub integration, and model card tools improvements. The full list of changes follows.
What's Changed
- MNT bump version on main by @adrinjalali in #115
- DOC release refinements by @adrinjalali in #116
- MNT Remove redundant test in CI by @BenjaminBossan in #124
- FEA Utility function to add arbitrary files to the repo by @BenjaminBossan in #123
- ENH add private arg to push by @adrinjalali in #130
- CI Reduce CI timeout from 60 to 15 min by @BenjaminBossan in #131
- DOC Autogeneration of getting started code by @merveenoyan in #132
- DOC Added text classification example by @merveenoyan in #125
- DOC add link to the hub with skops filter by @adrinjalali in #129
- CI pin python for mypy issue by @adrinjalali in #137
- FEA add secure persistence by @adrinjalali in #128
- FEA update_env implementation by @merveenoyan in #136
- DOC gradio integration by @merveenoyan in #134
- MNT Add matplotlib and pandas as test dependencies by @BenjaminBossan in #151
- CI Pin HF Hub version, unpin Python 3.10.6 by @BenjaminBossan in #158
- DOC Add secure persistence docs by @BenjaminBossan in #145
- MNT Persist clean up and consistency checks by @BenjaminBossan in #143
- TST Add checks for contiguity of loaded numpy arrays by @BenjaminBossan in #160
- MNT Swap the names of _get_state <=> get_state & _get_instance <=> get_instance by @BenjaminBossan in #161
- ENH Added getting started snippet for .skops format by @merveenoyan in #167
- CI Relax dependency of HF hub being < v0.10 by @BenjaminBossan in #168
- FIX Fix line breaks in markdown tables by @BenjaminBossan in #156
- MNT Model card refactor to move plotting & table by @merveenoyan in #163
- MNT Refactor with a SaveState and avoid duplicate numpy arrays by @BenjaminBossan in #173
- TST Refactor test fixture to be more atomic by @E-Aho in #175
- MNT Move to huggingface_hub v0.10 by @BenjaminBossan in #162
- CI Use v3 of codecov GitHub action by @BenjaminBossan in #183
- Added source code link by @ayyucedemirbas in #172
- FIX ImportError for _DictWithDeprecationKeys by @BenjaminBossan in #188
- MNT Added PR template by @merveenoyan in #193
- ENH Add dumps and loads functions by @BenjaminBossan in #182
- CI Run different sklearn versions in CI by @BenjaminBossan in #196
- MNT Rename skops.io.save to skops.io.dump by @BenjaminBossan in #199
- Refactor: get_instance method saved in state by @BenjaminBossan in #200
- DOC Fix-minor-typo-in-docstring by @E-Aho in #201
- FIX Edit style of model plot to fit in the page by @rushic24 in #178
- TST Refactor: clean persistence tests to avoid duplicate testing by @BenjaminBossan in #202
- Add Method type in dispatch calls by @E-Aho in #195
- MNT put confusion matrix in a temp folder by @adrinjalali in #208
- DOC The "path" parameter doesn't exist by @BenjaminBossan in #210
- CI Skip inference tests by default by @BenjaminBossan in #212
- ENH Implement LoadContext to handle multiple instances by @E-Aho in #209
- MNT Fixes for hf_hub v0.11.0 by @BenjaminBossan in #213
- MNT error in init if given file is empty by @adrinjalali in #214
- load model from path/str to generate Card by @p-mishra1 in #205
- FEAT Audit before loading a skops file by @adrinjalali in #204
- MNT set version for the release by @adrinjalali in #218