Skip to main content

Interactive Evaluation Framework for Machine Learning

Project description

PyPI version Github Actions CI tests MIT license DOI Join the chat at https://gitter.im/zeno-ml-eval/community

Zeno is a general-purpose framework for evaluating machine learning models. It combines a Python API with an interactive UI to allow users to discover, explore, and analyze the performance of their models across diverse use cases. Zeno can be used for any data type or task with modular views for everything from object detection to audio transcription.

Demos

Image Classification Audio Transcription Image Generation Sensor Data Exploration
CIFAR-10 Speech Accent Archive DiffusionDB MotionSense
Try with Zeno Try with Zeno Try with Zeno Try with Zeno

https://user-images.githubusercontent.com/4563691/220689691-1ad7c184-02db-4615-b5ac-f52b8d5b8ea3.mp4

Quickstart

Install the Zeno Python package from PyPI:

pip install zenoml

Command Line

To get started, run the following command to initialize a Zeno project. It will walk you through creating the zeno.toml configuration file:

zeno init

Take a look at the configuration documentation for additional toml file options like adding model functions.

Start Zeno with zeno zeno.toml.

Jupyter Notebook

You can also run Zeno directly from Jupyter notebooks or lab. The zeno command takes a dictionary of configuration options as input. See the docs for a full list of options. In this example we pass the minimum options for exploring a non-tabular dataset:

import pandas as pd
from zeno import zeno

df = pd.read_csv("/path/to/metadata/file.csv")

zeno({
    "metadata": df, # Pandas DataFrame with a row for each instance
    "view": "audio-transcription", # The type of view for this data/task
    "data_path": "/path/to/raw/data/", # The folder with raw data (images, audio, etc.)
    "data_column": "id" # The column in the metadata file that contains the relative paths of files in data_path
})

You can pass a list of decorated function references directly Zeno as you add models and metrics.

Citation

Please reference our CHI'22 paper

@inproceedings{cabrera23zeno,
  author = {Cabrera, Ángel Alexander and Fu, Erica and Bertucci, Donald and Holstein, Kenneth and Talwalkar, Ameet and Hong, Jason I. and Perer, Adam},
  title = {Zeno: An Interactive Framework for Behavioral Evaluation of Machine Learning},
  year = {2023},
  isbn = {978-1-4503-9421-5/23/04},
  publisher = {Association for Computing Machinery},
  address = {New York, NY, USA},
  url = {https://doi.org/10.1145/3544548.3581268},
  doi = {10.1145/3544548.3581268},
  booktitle = {CHI Conference on Human Factors in Computing Systems},
  location = {Hamburg, Germany},
  series = {CHI '23}
}

Community

Chat with us on our Gitter channel or leave an issue on this repository if you run into any issues or have a request!

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

zenoml-0.4.0.tar.gz (649.1 kB view details)

Uploaded Source

Built Distribution

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

zenoml-0.4.0-py3-none-any.whl (654.0 kB view details)

Uploaded Python 3

File details

Details for the file zenoml-0.4.0.tar.gz.

File metadata

  • Download URL: zenoml-0.4.0.tar.gz
  • Upload date:
  • Size: 649.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.12 Darwin/22.3.0

File hashes

Hashes for zenoml-0.4.0.tar.gz
Algorithm Hash digest
SHA256 8dd66762916a8c9508cc8a200a93816096cf0d0b507e6a19bb78456d1a422afb
MD5 72406794445511d09357c0af71ddd9b1
BLAKE2b-256 28c10ac37eb7b2bc2173dfa42b594ba613f318f50343c2ec6cd46263b6a3fb5a

See more details on using hashes here.

File details

Details for the file zenoml-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: zenoml-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 654.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.12 Darwin/22.3.0

File hashes

Hashes for zenoml-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6069862858b6ce5fb94ca7c2e02224378030cd693d9abce20ee0ad67f0bbed3
MD5 fe1ec4ce1c5114830ebf795c3a367651
BLAKE2b-256 a83e8a9a20744f283ddfa75b7859cb07d3f1086ea6a2b2fc4ed46cf5ccb501c8

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