Classification based on distribution