Instance-based classification by emerging patterns