Skip to content

Tags: probabl-ai/skore

Tags

0.6.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
docs: Refine the documentation before the release 0.6.1 (#1204)

Various minor stuff

---------

Co-authored-by: MarieS-WiMLDS <79304610+MarieS-WiMLDS@users.noreply.github.com>
Co-authored-by: Marie <marie.sacksick@posteo.net>

0.6.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Make reports pickable out-of-the-box (#1179)

This PR makes sure that the `EstimatorReport` and
`CrossValidationReport` are pickable object.

Right now, because we kept the step of the `Progress` from rich that has
a lock, the object are not pickable. I reset the `_parent_progress` and
`_progress_info` to `None` in the finally of the decorator.

An alternative is to change the `set_state` but here I think that we can
just applied this clean-up instead.

0.6.0-rc.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Modify the user API of `skore` to respect "what you put is what…

… you get" principle (#1052)

Closes #1045
Closes #734

Refactor the user API to hide all notions of `Item`, `View`, and to
respect "what you put is what you get" from a user's point of view.
Among others:

- Hide item classes in sub-directory to be less visible by users
- All `@cached_property` in items have been removed, because items are
not used anymore directly by users
- Remove the ability to store anything other than strings in `MediaItem`
- Explode `MediaItem` in new item classes
- Add `PickleItem` class which can persist any object when it cannot be
otherwise
- Add `display_as` parameter to `project.put` to control how a string is
displayed in the frontend
- Remove `project.put_item` in such way user need only to use
`project.put`
- The `project.get` function always returns what the user has put
- The `project.get` and `project.get_item_versions` have been merged
- The `CrossValidationItem` has been replaced by a
`CrossValidationReporterItem` based on pickle
- To go fast, and because a report is composed of complex objects, such
as estimator, X and y, i've made the choice to persist the report as a
pickle. That way, we can get a report from the persistency without
effort. In a next iteration, we should think about how to persist more
efficiencly and env-independently a report which can be rebuilt entirely
from the persistency.

---

- [ ] hide item API
    - [x] hide `put_item`
    - [x] hide `get_item`
    - [x] change `get_item_versions` to be item agnostic
- [ ] change the constructor of the `Project` to hide repositories ->
postponed #1160
- [x] update each item classes to return their original objects
    - [x] cross validation reporter
    - [x] pillow image
    - [x] plotly figure
    - [x] altair figure
    - [x] matplotlib figure
    - [x] media item, to only accept str with `display_as`
    - [x] ~primitive~ -> already 🆗 
    - [x] ~pandas dataframe~ -> already 🆗 
    - [x] ~polars dataframe~ -> already 🆗 
    - [x] ~pandas series~ -> already 🆗 
    - [x] ~polars series~ -> already 🆗 
    - [x] ~numpy array~ -> already 🆗 
    - [x] ~scikit-learn estimator~ -> already 🆗 
- [x] set note in each factory
- [x] update `put` to allow the new parameter `display_as`
- [x] hide view API
- [ ] move `repr_html` to reporters ->
#1161
- [ ] change the way numpy array are serialized -> postponed
#1159

---------

Co-authored-by: Auguste Baum <auguste@probabl.ai>

0.5.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: Update tagline (#1057)

To merge before 0.5.1

0.5.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
docs: Minor change for the screenshot in the README (#942)

Fix #941

0.4.1

docs: Build documentation triggered by 0282602

skip-checks:true

0.4.0

docs: Build documentation triggered by 09de4b6

skip-checks:true

0.3.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(UI): Dropdowns now automatically open either above or below (#706)

Depending on where there is more space.
Fixes #692

0.2.2

docs: Build documentation triggered by 2a37c7a

0.2.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(UI): Persist views upon item reordering (#637)

Items are now watched and persisted in the backend when reordered.