rating based preditions for nominal attributes