Skip to content

Tags: probabl-ai/skore

Tags

0.7.1

Toggle 0.7.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Add dedicated `Display` classes to ComparisonReport (#1309)

Duplicate the plot classes for `ComparisonReport` use-cases:
- `RocCurveDisplay`,
- `PredictionRecallCurveDisplay`,
- `PredictionErrorDisplay`.

I've chosen to simplify a few things from the original classes, in
particular by removing the user's ability to customize the plot.
The plot tests strictly compare pixel by pixel the matplotlib result
with an expected image.

The next iteration should be to factorize these duplicated classes with
the one in `skore.sklearn._plot`.

---

**Roc curves**

![binary-classification](https://github.com/user-attachments/assets/b3e4fd8a-e201-4f3a-83be-01165c8a9c9d)

![multiclass-classification](https://github.com/user-attachments/assets/6ec2f490-7c55-483d-ada2-5af67a0ff1bd)

**PR curves**

![pr-binary-classification](https://github.com/user-attachments/assets/79a07266-5ddb-42e4-99cb-e6f3fefdfc6d)

![pr-multiclass-classification](https://github.com/user-attachments/assets/80b200cd-20af-4a51-8fe6-401f56e9b534)

**Prediction error curves**

![Figure_1](https://github.com/user-attachments/assets/d64de1de-84de-4f25-9fa9-7ee7e3e17ad9)

![Figure_2](https://github.com/user-attachments/assets/b2d8889e-6573-4dd7-8170-c5974fd767e0)

0.7.0

Toggle 0.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(project): Add parameter to `Project.clear` to delete project (#1322

)

`project.clear(delete_project=True)` now deletes the entire project,
while `project.clear(delete_project=False)` (the default) removes every
item from the project.

Closes #1294

0.6.1

Toggle 0.6.1's commit message

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 <[email protected]>
Co-authored-by: Marie <[email protected]>

0.6.0

Toggle 0.6.0's commit message

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

Toggle 0.6.0-rc.1's commit message

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 <[email protected]>

0.5.1

Toggle 0.5.1's commit message

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

Toggle 0.5.0's commit message

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

Toggle 0.4.1's commit message
docs: Build documentation triggered by 0282602

skip-checks:true

0.4.0

Toggle 0.4.0's commit message
docs: Build documentation triggered by 09de4b6

skip-checks:true

0.3.0

Toggle 0.3.0's commit message

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