Batch#
- class capymoa.base.Batch[source]#
Bases:
ABC
Base class for batch processing in CapyMOA
- abstract batch_predict(x: Tensor) Tensor [source]#
Predict the target values for a batch of instances.
- Parameters:
x – A batch of feature vectors of shape
(batch_size, num_features)
.- Returns:
Predicted target values, typically a vector of shape
(batch_size,)
.