Skip to main content

Quickly annotate data on Jupyter notebooks.

Project description


🐦 pigeon - Quickly annotate data on Jupyter
========================

Pigeon is a simple widget that lets you quickly annotate a dataset of
unlabeled examples from the comfort of your Jupyter notebook.

Pigeon currently supports annotation for classification tasks (set of
labels), regression tasks (int/float range), or captioning tasks
(variable-length text). Anything that can be displayed on Jupyter
(text, images, audio, graphs, etc.) can be displayed by pigeon
by providing the appropriate :code:`display_fn` argument.

Examples
-----

- Text classification

Code:

.. code-block:: python

from pigeon import annotate
annotations = annotate(
['I love this movie', 'I was really disappointed by the book'],
options=['positive', 'negative']
)


Preview:

.. image:: http://i.imgur.com/00ry4Li.gif

- Image classification

Code:

.. code-block:: python

from pigeon import annotate
from IPython.display import display, Image

annotations = annotate(
['assets/img_example1.jpg', 'assets/img_example2.jpg'],
options=['cat', 'dog', 'horse'],
display_fn=lambda filename: display(Image(filename))
)

Preview:

.. image:: http://i.imgur.com/PiE3eDt.gif

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

pigeon-jupyter-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file pigeon-jupyter-0.1.0.tar.gz.

File metadata

File hashes

Hashes for pigeon-jupyter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8cb03d902250e10998d82d5c62bc06267121c38b284a624f0349d8e0838f2235
MD5 1f6c592a566d6f33eadb7ae09e47eac7
BLAKE2b-256 d1c70a19ff2f31d242804e6f521c35b388475766565503b318e0462b2a4b6731

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page