-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-ci-on-fork
# Conflicts: # .github/workflows/skore.yml
- Loading branch information
Showing
55 changed files
with
1,243 additions
and
647 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,23 +4,14 @@ | |
<source srcset="https://media.githubusercontent.com/media/probabl-ai/skore/main/sphinx/_static/images/[email protected]" media="(prefers-color-scheme: dark)"> | ||
<img width="200" src="https://media.githubusercontent.com/media/probabl-ai/skore/main/sphinx/_static/images/[email protected]" alt="skore logo"> | ||
</picture> | ||
<h3>the scikit-learn sidekick</h3> | ||
|
||
<h2>The scikit-learn Modeling Companion</h2> | ||
|
||
__Elevate ML Development with Tracking and Built-in Recommended Practices__ \ | ||
Elevate ML Development with Tracking and Built-in Recommended Practices \ | ||
[Documentation](https://skore.probabl.ai) — [Community](https://discord.probabl.ai) | ||
|
||
<br /> | ||
|
||
![license](https://img.shields.io/pypi/l/skore) | ||
![python](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue?style=flat&logo=python) | ||
[![downloads](https://static.pepy.tech/badge/skore/month)](https://pepy.tech/projects/skore) | ||
[![pypi](https://img.shields.io/pypi/v/skore)](https://pypi.org/project/skore/) | ||
![ci](https://github.com/probabl-ai/skore/actions/workflows/ci.yml/badge.svg?event=push) | ||
[![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?logo=discord&logoColor=white)](https://discord.probabl.ai/) | ||
|
||
</div> | ||
|
||
<br /> | ||
|
||
## Why skore? | ||
|
||
|
@@ -107,9 +98,17 @@ Thank you for considering contributing to skore! Join our mission to promote ope | |
|
||
## Feedback & Community | ||
|
||
- Join our [Discord](https://discord.probabl.ai/) to share ideas or get support. | ||
- Request a feature or report a bug via [GitHub Issues](https://github.com/probabl-ai/skore/issues). | ||
- Join our [Discord](https://discord.probabl.ai/) to share ideas or get support. | ||
- Request a feature or report a bug via [GitHub Issues](https://github.com/probabl-ai/skore/issues). | ||
|
||
<br /> | ||
|
||
![license](https://img.shields.io/pypi/l/skore) | ||
![python](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue?style=flat&logo=python) | ||
[![downloads](https://static.pepy.tech/badge/skore/month)](https://pepy.tech/projects/skore) | ||
[![pypi](https://img.shields.io/pypi/v/skore)](https://pypi.org/project/skore/) | ||
![ci](https://github.com/probabl-ai/skore/actions/workflows/ci.yml/badge.svg?event=push) | ||
[![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?logo=discord&logoColor=white)](https://discord.probabl.ai/) | ||
|
||
--- | ||
|
||
|
27 changes: 27 additions & 0 deletions
27
docs/design/0002-never-present-neg-metrics-from-sklearn.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
status: accepted | ||
date: 2025-01-06 | ||
decision-makers: ["@augustebaum", "@sylvaincom", "@glemaitre"] | ||
consulted: ["@ogrisel"] | ||
--- | ||
|
||
# Never show `neg_*` metrics from sklearn | ||
|
||
## Context and Problem Statement | ||
|
||
We show various metrics to users, many directly using sklearn. | ||
In sklearn, many metrics are multiplied by -1 and prefixed with `neg_`, with the purpose of making all metrics "higher-is-better". This way, optimization tools in sklearn such as `GridSearchCV` do not need to figure out which way the metric should be optimized. | ||
This is specific to sklearn, and there is no reason to port this design over to skore. | ||
|
||
## Decision Drivers | ||
|
||
* Our data-science-literate collaborators (@ogrisel, @glemaitre, @sylvaincom) consider the `neg_` trick should remain a solution to a sklearn-specific problem, and not be displayed in plots for the skore user. | ||
|
||
## Decision Outcome | ||
|
||
Chosen option: Never show `neg_*` metrics from sklearn in skore, only use the positive counterparts. This makes reports clearer. | ||
|
||
### Consequences | ||
|
||
* We show the most relevant information to the user. | ||
* We might have to take on the responsibility of maintaining the "metric is higher-is-better" pre-condition ourselves. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.