Objective functions for feature discrimination: theory