probabl-ai / skore

Skore lets you "Own Your Data Science." It provides a user-friendly interface to track and visualize your modeling results, and perform evaluation of your machine learning models with scikit-learn.
https://probabl.ai
MIT License
49 stars 0 forks source link

feat: Enhance skore.cross_validate with more readable time #564

Open MarieS-WiMLDS opened 8 hours ago

MarieS-WiMLDS commented 8 hours ago

Is your feature request related to a problem? Please describe.

As a data scientist, I want the execution time to be displayed in more human readable format. 0.0025 seconds is not readable, nor is 184727647 seconds.

A readable format is: "10 days, 10 hours, 5 minutes and 12 seconds"

Sub issue of https://github.com/probabl-ai/skore/issues/544

Describe the solution you'd like

This might be a solution, but it's only an idea, the tech design is left to the dev reader :)

import datetime
print(str(datetime.timedelta(seconds=1_000)))

Describe alternatives you've considered, if relevant

No response

Additional context

No response

augustebaum commented 2 hours ago

@sylvaincom can you confirm that the new Plotly version of the plot still has this problem? If not, this can be closed