Skip to main content

the scikit-learn sidekick

Project description

skore logo

the scikit-learn sidekick

Elevate ML Development with Tracking and Built-in Recommended Practices
DocumentationCommunity


Why skore?

ML development is an art — blending business sense, stats knowledge, and coding skills. Brought to you by Probabl, a company co-founded by scikit-learn core developers, skore helps data scientists focus on what matters: building impactful models with hindsight and clarity.

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, supporting every phase of the machine learning lifecycle.

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

Key features

  • Track and Visualize Results: Capture your intermediate ML/DS results without the overhead, while gaining deeper insights through intuitive visualizations of your experiments.
  • Elevate Model Development: Avoid common pitfalls and follow recommended practices with automatic guidance and insights.
    • Enhancing key scikit-learn features with skore.CrossValidationReporter and skore.train_test_split().

GIF: short demo of skore

🚀 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. From your Python code, create and load a skore project:

    import skore
    my_project = skore.create("my_project", overwrite=True)
    

    This will create a skore project directory named my_project.skore in your current working directory.

  2. Evaluate your model using skore.CrossValidationReporter:

    from sklearn.datasets import load_iris
    from sklearn.svm import SVC
    
    X, y = load_iris(return_X_y=True)
    clf = SVC(kernel="linear", C=1, random_state=0)
    
    reporter = skore.CrossValidationReporter(clf, X, y, cv=5)
    
    # Store the results in the project
    my_project.put("cv_reporter", reporter)
    
    # Display a plot result in your notebook
    reporter.plots.scores
    
  3. Finally, from your shell (in the same directory), start the UI:

    skore launch "my_project"
    

    This will open skore-ui in a browser window.

You will automatically be able to visualize some key metrics (although you might have forgotten to specify all of them): Cross-validation screenshot

Also check out skore.train_test_split() that enhances scikit-learn. 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.

license python downloads pypi ci Discord


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.5.1.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

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

skore-0.5.1-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skore-0.5.1.tar.gz
  • Upload date:
  • Size: 3.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for skore-0.5.1.tar.gz
Algorithm Hash digest
SHA256 65904d78a7187c2260902c0198ef21ca9dd8737d782b7ea0e9e113e4dac33a7b
MD5 0b5095647a6d32a150acafe42f996e12
BLAKE2b-256 07a18aaa2f4046161f2d4659c2536b16f8666e0a92b3d32e9ee75cd0b1cdefab

See more details on using hashes here.

Provenance

The following attestation bundles were made for skore-0.5.1.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.5.1-py3-none-any.whl.

File metadata

  • Download URL: skore-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for skore-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf6bdda9ca72245e2ff46c1fa7c37d838249182bf172ef0afe5bf871e65b0a22
MD5 b54edf24bb1556c0675d355cfc00acfd
BLAKE2b-256 5c88117cd45a768fadd24dc8750c18e71f048229f4f3f46777d2061f1c64b9fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for skore-0.5.1-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