semvec/pypi-packages huggingface dataset:
nuvitide 1.0.3
Custom TIDE for Nuvi-labs AI Model Metrics
Requires Python: >=3.6

# NuviTide

# Installation
simply install it with pip:
```
pip3 install tidecv
```

# Usage
```python
from tidecv import TIDE, nuvi_datasets

name = "Test1"
bucket = "platedata-myogok-es"
prefix = "myogok-es/211101/L/B/"
ap = 50

tide = TIDE()
```
**Example (1)**
```python
nuvi = nuvi_datasets.ThscMetrics(bucket_name=bucket, prefix=prefix)
# nuvi = nuvi_datasets.FoodMetrics(bucket_name=bucket, prefix=prefix)
# nuvi = nuvi_datasets.BinaryFoodMetrics(bucket_name=bucket, prefix=prefix)

gt_data = nuvi.NuviGTData()
pred_data = nuvi.NuviPredData()

tide.evaluate(gt_data, pred_data, pos_threshold=(ap / 100), mode=TIDE.BOX, name=name)
#tide.evaluate_range(gt_data, pred_data, mode=TIDE.BOX)
#tide.evaluate_range(gt_data, pred_data, thresholds=[0.5, 0.55, 0.6, 0.65, 0.7, 0.75, 0.8, 0.85, 0.9, 0.95], mode=TIDE.BOX)
```

```python
tide.summarize()
```

```python
print(tide.get_all_ap(name=args.mode))
```

```python
tide.summarize()
```

```python
tide.plot()
```

```python
tide.nuviplot()
```

```python
tide.errorviz(args.bucket, args.prefix, ["Dupe"]) # ["all"] or ["Cls", "Loc", "Miss", "Bkg", "Both", "Dupe"]
```


## Todo
- [ ] add batch(yield?) for large data