An object classification method based on the improved bacterial foraging optimisation algorithm