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.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.0rc1.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.0rc1-py3-none-any.whl (3.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skore-0.6.0rc1.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.0rc1.tar.gz
Algorithm Hash digest
SHA256 ede4c98a197f845289ae6ed5f0e2937298741d3e55d64cf0b4fbdaa70b990a62
MD5 c882441b232fbd6a1d8298321fdbc56b
BLAKE2b-256 00f058844ab635b4dd6344f277e57320e4d769d5df879100e1898e9827c12295

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: skore-0.6.0rc1-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.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 d82a0d548052ed4f47d2cf3173c7d65572ebf72bfa23f4ee3436ed0436e627ad
MD5 50dcb410cd05e649031da4c30dac38dd
BLAKE2b-256 3943be8ba54cdaa62140320df271ae084cd7c5dd59a7e67e43e608df1a63fd4e

See more details on using hashes here.

Provenance

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