Data classifier based on surprisal