Skip to main content

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.10 or higher

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

To use optional analyzers, install Spotlight with analyzers extra:

pip install renumics-spotlight[analyzers]

To use optional embeddings, install Spotlight with torch extra:

# CPU support
pip install --extra-index-url https://download.pytorch.org/whl/cpu renumics-spotlight[torch]
# Default installation
pip install renumics-spotlight[torch]
# Specific CUDA version support
pip install --extra-index-url https://download.pytorch.org/whl/cu128 renumics-spotlight[torch]

See torch installation for more details.

If you are using Spotlight with Hugging Face datasets of version 4 (current default), you'll also need to install torch extra to use audio data and have FFmpeg installed on your system. See here for more details.

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. The dtype 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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

renumics_spotlight-1.8.0-py3-none-any.whl (3.4 MB view details)

Uploaded Python 3

File details

Details for the file renumics_spotlight-1.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for renumics_spotlight-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b4519d35883f97c4786ece80cc3a4b3a798911b8153d34aa9534aced17357179
MD5 06fd3c523286e51171c29133721fa8a0
BLAKE2b-256 29c75902070e8331819bcd0fc80dcc8c52d4798ae641bef2d50b9e720e0911f0

See more details on using hashes here.

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