Information based clustering