Unifying information theory and machine learning in a model of electrode discrimination in cochlear implants