Visualize and maintain datasets to develop and understand data-driven algorithms.
Project description
Renumics Spotlight
Spotlight helps you to identify critical data segments and model failure modes. It enables you to build and maintain reliable machine learning models by curating a high-quality datasets.
Introduction
Spotlight is built on the idea that you can only truly understand unstructured datasets if you can interactively explore them. Its core principle is to identify and fix critical data segments by leveraging data enrichments (e.g. features, embeddings, uncertainties). We are building Spotlight for cross-functional teams that want to be in control of their data and data curation processes. Currently, Spotlight supports many use cases based on image, audio, video and time series data.
Quickstart
Get started by installing Spotlight and loading your first dataset.
What you'll need
- Python version 3.8-3.11
Install Spotlight via pip
pip install renumics-spotlight
We recommend installing Spotlight and everything you need to work on your data in a separate virtual environment
Load a dataset and start exploring
import pandas as pd
from renumics import spotlight
df = pd.read_csv("https://spotlight.renumics.com/data/mnist/mnist-tiny.csv")
spotlight.show(df, dtype={"image": spotlight.Image, "embedding": spotlight.Embedding})
pd.read_csv
loads a sample csv file as a pandas DataFrame.
spotlight.show
opens up spotlight in the browser with the pandas dataframe ready for you to explore. Thedtype
argument specifies custom column types for the browser viewer.
Load a Hugging Face dataset
import datasets
from renumics import spotlight
dataset = datasets.load_dataset("olivierdehaene/xkcd", split="train")
df = dataset.to_pandas()
spotlight.show(df, dtype={"image_url": spotlight.Image})
The
datasets
package can be installed via pip.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file renumics_spotlight-1.6.12-py3-none-any.whl
.
File metadata
- Download URL: renumics_spotlight-1.6.12-py3-none-any.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75e89923730946532b55d76c21883371995fdb64b7f1244d985abd34c6f91eb5 |
|
MD5 | 5e0e2fb87635d0edb253d352caf6996f |
|
BLAKE2b-256 | 2a9a9fc9a80f0deb7929ad83873e7cb4653d6ee721977c8ae18405ab05342e66 |