implement 'evaluate' method of classifier