confidence weighted classifier