Data classification with event types