Skops

Latest version: v0.11.0

Safety actively analyzes 688705 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.12

-----

0.11

-----
- Correctly restore ``default_factory`` when saving and loading a ``defaultdict``.
:pr:`433` by `Adrin Jalali`_.
- Support more loss functions implemented in Cython in scikit-learn.
:pr:`453` by `Adrin Jalali`_.
- Fixes for scikit-learn=1.6 release.
:pr:`447` by :user:`Tamara Atanasoska <TamaraAtanasoska>`.

0.10

-----
- Removes Pythn 3.8 support and adds Python 3.12 Support :pr:`418` by :user:`Thomas Lazarus <lazarust>`.
- Removes a shortcut to add `sklearn-intelex` as a not dependency.
:pr:`420` by :user:`Thomas Lazarus < lazarust > `.
- ``trusted=True`` is now removed from ``skops.io.load`` and ``skops.io.loads``.
This is to further encourage users to inspect the input data before loading
it. :func:`skops.io.get_untrusted_types` can be used to get the untrusted types
present in the input.
:pr:`422` by `Adrin Jalali`_.
- ``skops.io`` now supports `numpy>=2`. :pr:`429` by `Adrin Jalali`_.

0.9

----
- Add support for `quantile-forest <https://github.com/zillow/quantile-forest>`__
estimators. :pr:`384` by :user:`Reid Johnson <reidjohnson>`.
- Fix an issue with visualizing Skops files for `scikit-learn` tree estimators.
:pr:`386` by :user:`Reid Johnson <reidjohnson>`.
- :func:`skops.hub_utils.get_model_output` and :func:`skops.hub_utils.push` are
deprecated and will be removed in version 0.10. :pr:`396` by `Adrin Jalali`_.

0.8

----
- Adds the abillity to set the :attr:`.Section.folded` property when using :meth:`.Card.add`.
:pr:`361` by :user:`Thomas Lazarus <lazarust>`.
- Add the CLI command to update Skops files to the latest Skops persistence format.
(:func:`.cli._update.main`). :pr:`333` by :user:`Edoardo Abati <EdAbati>`
- Fix a bug that prevented persisting ``np.mean`` when using numpy>=1.25.0.
:pr:`373` by `Adrin Jalali`_.

0.7

----
- Add ability to copy plots on :meth:`.Card.save` so that they can be
referenced in the model card. :pr:`330` by :user:`Thomas Lazarus <lazarust>`.
- `compression` and `compresslevel` from :class:`~zipfile.ZipFile` are now
exposed to the user via :func:`.io.dumps` and :func:`.io.dump`. :pr:`345` by
`Adrin Jalali`_.
- Fix: :func:`skops.io.visualize` is now capable of showing bytes. :pr:`352` by
`Benjamin Bossan`_.
- All public ``numpy`` ufuncs (Universal Functions) and dtypes are trusted by default
by :func:`.io.load`. :pr:`336` by :user:`Omar Arab Oghli <omar-araboghli>`.
- Sections in :class:`skops.card.Card` can now be folded once added to the
card. :pr:`341` by :user:`Thomas Lazarus <lazarust>`.
- Model loading in :class:`skops.card.Card` is now cached to avoid loading the
model multiple times. :pr:`299` by :user:`Juan Camacho <jucamohedano>`.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.