What is the fundamental difference between batch inference and online (real-time) inference?
- aBatch inference always produces more accurate predictions than online inference
- bIt scores inputs on a schedule, while online inference answers requests instantly✓
- cOnline inference can only be used for image data, while batch inference is used for text data
- dBatch inference requires no compute resources because predictions are cached forever
Explanation:Batch inference scores a large set of inputs together, typically on a recurring schedule, and stores results for later use. Online inference serves predictions synchronously for individual incoming requests, usually under a latency requirement.