Skip to main content

the scikit-learn sidekick

Project description

license python downloads pypi Discord

skore logo

the scikit-learn sidekick

Elevate ML Development with Built-in Recommended Practices
DocumentationCommunityYouTube


What is skore?

skore is a Python open-source library designed to help data scientists apply recommended practices and avoid common methodological pitfalls in scikit-learn.

Key features

  • Evaluate: automated insightful reports.
    • EstimatorReport: feed your scikit-learn compatible estimator and dataset, and it generates recommended metrics, feature importance, and plots to help you evaluate and inspect your estimator. All these are computed and generated for you in 1 line of code. Under the hood, we use efficient caching to make the computations blazing fast.
    • CrossValidationReport: get a skore estimator report for each fold of your cross-validation.
    • ComparisonReport: benchmark your skore estimator reports.
  • Diagnose: catch methodological errors before they impact your models.
    • train_test_split supercharged with methodological guidance: the API is the same as scikit-learn's, but skore displays warnings when applicable. For example, it warns you against shuffling time series data or when you have class imbalance.

What's next?

Skore is just at the beginning of its journey, but we’re shipping fast! Frequent updates and new features are on the way as we work toward our vision of becoming a comprehensive library for data scientists.

⭐ Support us with a star and spread the word - it means a lot! ⭐

🚀 Quick start

Installation

With pip

We recommend using a virtual environment (venv). You need python>=3.9.

Then, you can install skore by using pip:

pip install -U skore

With conda

skore is available in conda-forge:

conda install conda-forge::skore

You can find information on the latest version here.

Get assistance when developing your ML/DS projects

  1. Evaluate your model using skore.CrossValidationReport:

    from sklearn.datasets import make_classification
    from sklearn.linear_model import LogisticRegression
    
    from skore import CrossValidationReport
    
    X, y = make_classification(n_classes=2, n_samples=100_000, n_informative=4)
    clf = LogisticRegression()
    
    cv_report = CrossValidationReport(clf, X, y)
    
    # Display the help tree to see all the insights that are available to you
    cv_report.help()
    
    # Display the report metrics that was computed for you:
    df_cv_report_metrics = cv_report.metrics.report_metrics()
    df_cv_report_metrics
    
    # Display the ROC curve that was generated for you:
    roc_plot = cv_report.metrics.roc()
    roc_plot.plot()
    
  2. Store your results for safe-keeping.

    # Create and load a skore project
    import skore
    my_project = skore.Project("my_project")
    
    # Store your results
    my_project.put("df_cv_report_metrics", df_cv_report_metrics)
    my_project.put("roc_plot", roc_plot)
    
    # Get your results
    df_get = my_project.get("df_cv_report_metrics")
    df_get
    

Learn more in our documentation.

Contributing

Thank you for considering contributing to skore! Join our mission to promote open-source and make machine learning development more robust and effective. Please check the contributing guidelines here.

Feedback & Community

  • Join our Discord to share ideas or get support.
  • Request a feature or report a bug via GitHub Issues.


Brought to you by

Probabl logo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skore-0.8.3.tar.gz (103.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skore-0.8.3-py3-none-any.whl (143.3 kB view details)

Uploaded Python 3

File details

Details for the file skore-0.8.3.tar.gz.

File metadata

  • Download URL: skore-0.8.3.tar.gz
  • Upload date:
  • Size: 103.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for skore-0.8.3.tar.gz
Algorithm Hash digest
SHA256 3baf892fa670f85c27ccae3307d19710d534f758384f05a112aa69207134054c
MD5 4b8e4e60705f8e0edeb94cd537543e55
BLAKE2b-256 412ae3ecd0f3d0b25879bacf460eb1ad7e2c34aa03b71bb0970e056de98df81e

See more details on using hashes here.

Provenance

The following attestation bundles were made for skore-0.8.3.tar.gz:

Publisher: release.yml on probabl-ai/skore

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file skore-0.8.3-py3-none-any.whl.

File metadata

  • Download URL: skore-0.8.3-py3-none-any.whl
  • Upload date:
  • Size: 143.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for skore-0.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e2a50176f607fbabdf3a03073e7a50a1b2f06036bd3fe6b2066bf8055ab59dd4
MD5 6de1af5cdbff28b9ccc0969e9a6c6a1f
BLAKE2b-256 b1fa5ed8834a783fd8dfb31049e1b7cfcf9b1acf7dc7b5b690c87da7125cf8b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for skore-0.8.3-py3-none-any.whl:

Publisher: release.yml on probabl-ai/skore

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page