Object-based and feature-based learning