Batch learning.