28 lines
729 B
Markdown
28 lines
729 B
Markdown
|
|
# Official Statistics Verification
|
||
|
|
|
||
|
|
VIMS instance for official-statistics.
|
||
|
|
|
||
|
|
## Related Article
|
||
|
|
[/insights/the-problem-with-official-statistics/](https://landvex.com/insights/the-problem-with-official-statistics/)
|
||
|
|
|
||
|
|
## Anomaly Classes
|
||
|
|
- aggregation_bias
|
||
|
|
- incentive_distortion
|
||
|
|
- conceptual_mismatch
|
||
|
|
- time_lag
|
||
|
|
- underreporting
|
||
|
|
|
||
|
|
## Quick Start
|
||
|
|
|
||
|
|
1. Add training images to `data/raw/`
|
||
|
|
2. Annotate using LabelImg (YOLO format)
|
||
|
|
3. Run preprocessing: `python src/detector.py`
|
||
|
|
4. Train model: `python src/detector.py --train`
|
||
|
|
5. Run inference: `python src/detector.py --predict data/test/image.jpg`
|
||
|
|
|
||
|
|
## API
|
||
|
|
|
||
|
|
Once deployed, access via:
|
||
|
|
- REST: `POST /api/official-statistics/predict`
|
||
|
|
- WebSocket: `ws://host/ws/official-statistics/alerts`
|