-
Notifications
You must be signed in to change notification settings - Fork 78
feat(skore)!: Change the API project.reports.metadata
to project.summarize
#1801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Coverage Report for |
File | Stmts | Miss | Cover | Missing |
---|---|---|---|---|
venv/lib/python3.13/site-packages/skore | ||||
__init__.py | 23 | 0 | 100% | |
_config.py | 28 | 0 | 100% | |
exceptions.py | 4 | 4 | 0% | 4, 15, 19, 23 |
venv/lib/python3.13/site-packages/skore/project | ||||
__init__.py | 2 | 0 | 100% | |
project.py | 49 | 0 | 100% | |
summary.py | 67 | 0 | 100% | |
widget.py | 138 | 5 | 96% | 375–377, 447–448 |
venv/lib/python3.13/site-packages/skore/sklearn | ||||
__init__.py | 7 | 0 | 100% | |
_base.py | 169 | 14 | 91% | 45, 58, 126, 129, 182, 185–186, 188–191, 224, 227–228 |
find_estimators.py | 27 | 0 | 100% | |
find_ml_task.py | 61 | 0 | 100% | |
types.py | 26 | 1 | 96% | 26 |
venv/lib/python3.13/site-packages/skore/sklearn/_comparison | ||||
__init__.py | 5 | 0 | 100% | |
metrics_accessor.py | 198 | 2 | 98% | 170, 1283 |
report.py | 95 | 0 | 100% | |
utils.py | 55 | 0 | 100% | |
venv/lib/python3.13/site-packages/skore/sklearn/_cross_validation | ||||
__init__.py | 5 | 0 | 100% | |
metrics_accessor.py | 207 | 0 | 100% | |
report.py | 125 | 1 | 99% | 480 |
venv/lib/python3.13/site-packages/skore/sklearn/_estimator | ||||
__init__.py | 7 | 0 | 100% | |
feature_importance_accessor.py | 143 | 2 | 98% | 216–217 |
metrics_accessor.py | 382 | 9 | 97% | 162, 191, 193, 200, 291, 360, 364, 379, 414 |
report.py | 166 | 2 | 98% | 454–455 |
venv/lib/python3.13/site-packages/skore/sklearn/_plot | ||||
__init__.py | 2 | 0 | 100% | |
base.py | 5 | 0 | 100% | |
style.py | 28 | 0 | 100% | |
utils.py | 118 | 5 | 95% | 50, 74–76, 80 |
venv/lib/python3.13/site-packages/skore/sklearn/_plot/metrics | ||||
__init__.py | 5 | 0 | 100% | |
confusion_matrix.py | 69 | 4 | 94% | 90, 98, 120, 228 |
precision_recall_curve.py | 230 | 1 | 99% | 716 |
prediction_error.py | 186 | 3 | 98% | 177, 184, 638 |
roc_curve.py | 242 | 4 | 98% | 380, 497, 598, 791 |
venv/lib/python3.13/site-packages/skore/sklearn/train_test_split | ||||
__init__.py | 0 | 0 | 100% | |
train_test_split.py | 49 | 0 | 100% | |
venv/lib/python3.13/site-packages/skore/sklearn/train_test_split/warning | ||||
__init__.py | 8 | 0 | 100% | |
high_class_imbalance_too_few_examples_warning.py | 17 | 1 | 94% | 80 |
high_class_imbalance_warning.py | 18 | 0 | 100% | |
random_state_unset_warning.py | 10 | 0 | 100% | |
shuffle_true_warning.py | 10 | 1 | 90% | 46 |
stratify_is_set_warning.py | 10 | 0 | 100% | |
time_based_column_warning.py | 21 | 1 | 95% | 73 |
train_test_split_warning.py | 4 | 0 | 100% | |
venv/lib/python3.13/site-packages/skore/utils | ||||
__init__.py | 6 | 2 | 66% | 8, 13 |
_accessor.py | 52 | 2 | 96% | 67, 108 |
_environment.py | 27 | 0 | 100% | |
_fixes.py | 8 | 0 | 100% | |
_index.py | 5 | 0 | 100% | |
_logger.py | 22 | 4 | 81% | 15–17, 19 |
_measure_time.py | 10 | 0 | 100% | |
_parallel.py | 38 | 3 | 92% | 23, 33, 124 |
_patch.py | 13 | 5 | 61% | 21, 23–24, 35, 37 |
_progress_bar.py | 45 | 0 | 100% | |
_show_versions.py | 33 | 2 | 93% | 65–66 |
_testing.py | 37 | 0 | 100% | |
TOTAL | 3317 | 78 | 97% |
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
833 | 5 💤 | 0 ❌ | 0 🔥 | 6m 44s ⏱️ |
project.reports.metadata
to project.summary
project.reports.metadata
to project.summary
It came to my mind that a verb would be better suited than a noun since it is a function. So, So maybe we can slightly think a bit more about the naming to know if |
You're true! Totally agree. |
In short, I have a feeling that Basically, since @auguste-probabl is a native speaker, I would take the one that he finds the most appropriate and we move on with it. I am already happy with both suggestions compared to the current state. |
project.reports.metadata
to project.summary
project.reports.metadata
to project.summarize
a1642f8
to
9d090da
Compare
Ready to merge @glemaitre (do not update with main; use the merge queue 😄 ). |
Closes #1795.