Types of training – online and batch processing