Skip to main content

the scikit-learn sidekick

Project description

skore logo

the scikit-learn sidekick

Elevate ML Development with 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

  • Diagnose: Catch methodological errors before they impact your models with smart alerts that analyze both code execution and data patterns in real-time.
  • Evaluate: Uncover actionable insights through automated reports surfacing relevant metrics. Explore faster with our intelligent caching system.

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.open("my_project")
    

    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.pipeline import Pipeline
    from sklearn.preprocessing import StandardScaler
    from sklearn.linear_model import LogisticRegression
    
    X, y = load_iris(return_X_y=True)
    clf_pipeline = Pipeline([
        ('scaler', StandardScaler()),
        ('clf', LogisticRegression())
    ])
    
    reporter = skore.CrossValidationReporter(clf_pipeline, 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 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.6.0.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.6.0-py3-none-any.whl (3.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skore-0.6.0.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.6.0.tar.gz
Algorithm Hash digest
SHA256 44c4baaf87dd9562ee483edaf2da0e12b51e468a89e66d10467b25508e98c5cc
MD5 c248b736e805fea68c8e417bd5534a11
BLAKE2b-256 d0af23aa1207bf5a660e38190531dd5e3d327cea3c8d189481ae26609983fe1d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: skore-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a311d62b2d0e2a2bdc5cefcc2f6b1ee9c9218451f54080ed4a7dc10342508af7
MD5 c05686eb7c70a6400e4fe46a3215cb66
BLAKE2b-256 55c6a5b1a6be74cd2d89c1ea6e03ce5eb89a0b5c72af2fa4764acb2e3b2bed1e

See more details on using hashes here.

Provenance

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