Upload Bulk Receipts
Load your own receipt data to re-train the KNN model. Supports CSV and JSON formats.
Upload File
Click or drag a file here
CSV or JSON — max 50 MB
Paste Receipts (JSON)
Paste receipt data as a JSON array. Accepts flat or grouped format.
Adjust K Value
Higher K = broader relationships (more related products per item). Lower K = tighter, more specific relationships.
Current Dataset
1200
Receipts
98
Products
5
K Value
Accepted Formats
CSV (one line per product on a receipt)
receipt_id,product_id,product_name,quantity,unit_price,category,timestamp R001,P001,White Bread Loaf,2,2.49,Bakery,2025-06-01 09:30:00 R001,P009,Whole Milk (1 gal),1,3.29,Dairy,2025-06-01 09:30:00 R002,P081,Pasta (1 lb),1,1.49,Pantry,2025-06-01 10:15:00
JSON (grouped format)
[
{
"receipt_id": "R001",
"timestamp": "2025-06-01 09:30:00",
"items": [
{"product_id": "P001", "product_name": "White Bread Loaf", "quantity": 2, "unit_price": 2.49, "category": "Bakery"},
{"product_id": "P009", "product_name": "Whole Milk (1 gal)", "quantity": 1, "unit_price": 3.29, "category": "Dairy"}
]
}
]