Vasireddy et al. provide a framework for electrical stimulation current steering using several microelectrodes to most effectively target individual neurons in a population. A biophysically inspired mathematical model fits the linear and nonlinear responses of neurons, and data-driven regression models are used to efficiently find the most selective electrical stimulation patterns.