Skip to main content

No project description provided

Project description

license python downloads pypi Discord

skore logo

the scikit-learn sidekick

Elevate ML Development with Built-in Recommended Practices
DocumentationCommunityYouTubeSkore Hub


🧩 What is Skore?

Skore is a product whose core mission is to turn uneven ML development into structured, effective decision-making. It is made of two complementary components:

  • Skore Lib: the scikit-learn sidekick, an open-source Python library (described here!) designed to help data scientists boost their ML development with effective guidance and tooling.
  • Skore Hub: the collaborative layer where teams connect, learn more on our product page.

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

Key features of Skore Lib

Evaluate and inspect: 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 model. All in just one 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 Lib 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.

⚡️ 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:

# If you just use skore locally
pip install -U skore
# If you wish to also interact with the skore hub
pip install -U skore[hub]

With conda

skore is available in conda-forge for local use:

conda install conda-forge::skore

It is not yet possible to interact with the skore hub when the skore is installed via conda.

You can find information on the latest version here.

Get assistance when developing your ML/DS projects

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:
metrics_summary = cv_report.metrics.summarize()
metrics_summary
# Display the ROC curve that was generated for you:
roc_plot = cv_report.metrics.roc()
roc_plot.plot()

Create or connect to a Project to save and load reports

from sklearn.datasets import make_classification
from sklearn.linear_model import LogisticRegression
from sklearn.model_selection import train_test_split

import skore

# Create or connect to a Project
project = skore.Project("<name>") # local
project = skore.Project("hub://<tenant>/<name>") # hub

X, y = make_classification(n_classes=2, n_samples=100_000, n_informative=4)
X_train, X_test, y_train, y_test = train_test_split(X, y)
clf = LogisticRegression()

report = skore.EstimatorReport(
    clf,
    X_train=X_train,
    y_train=y_train,
    X_test=X_test,
    y_test=y_test,
)

# Save report to Project for future reference
project.put("my_report", report)

Learn more in our documentation.

🛠️ Contributing

Join our mission to promote open-source and make machine learning development more robust and effective. If you'd like to contribute, 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.

Support

Skore is tested on Linux and Windows, for at most 4 versions of Python, and at most 3 versions of scikit-learn:

  • Python 3.9 (will be deprecated)
    • scikit-learn 1.6
  • Python 3.10
    • scikit-learn 1.6
  • Python 3.11
    • scikit-learn 1.6
  • Python 3.12
    • scikit-learn 1.4
    • scikit-learn 1.5
    • scikit-learn 1.6
  • Python 3.13
    • scikit-learn 1.5
    • scikit-learn 1.6

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_hub_project-0.0.5.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

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

skore_hub_project-0.0.5-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

Details for the file skore_hub_project-0.0.5.tar.gz.

File metadata

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

File hashes

Hashes for skore_hub_project-0.0.5.tar.gz
Algorithm Hash digest
SHA256 eb26a3608205925399498b276fa07c4572cdb74e12cbd79329c0406b0f689339
MD5 8185303e575c950d288d311cc9401400
BLAKE2b-256 a6c3439dacd2180c14d12333d4e904f014bf909bf0c82d8c2178657a99a3a93f

See more details on using hashes here.

Provenance

The following attestation bundles were made for skore_hub_project-0.0.5.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_hub_project-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for skore_hub_project-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f16cf27efb18ec0902664642dbefbc6e3193eb8df37db6a0e16952403b6c535d
MD5 4b3f781cba1a07b5516d887c5bf36ebe
BLAKE2b-256 e7d8b1cbd5b1a5056ceeb67f48520a694928cd5778715a34850599cd321cb734

See more details on using hashes here.

Provenance

The following attestation bundles were made for skore_hub_project-0.0.5-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