Spaces:
Runtime error
Runtime error
title: Element Count | |
tags: | |
- evaluate | |
- measurement | |
sdk: gradio | |
sdk_version: 3.0.2 | |
app_file: app.py | |
pinned: false | |
# Measurement Card for Element Count | |
## Measurement Description | |
Counts the number of elements in dataset. | |
## How to Use | |
```python | |
import evaluate | |
measure = evaluate.load("lvwerra/element_count") | |
measure.compute(["a", "b", "c") | |
>>> {"element_count": 3} | |
``` | |
### Inputs | |
- **data** *(``List``): List of integers | |
### Output Values | |
Returns a dictionary with the element count. |