1. A method for compensating an input signal for distortion introduced by an electronic device operating on the input signal to produce an output signal, characterized in that the method comprises: calculating a statistic characterizing the input signal over a selected time interval; selecting, based on the statistic, one of a predetermined plurality of basis function configurations for a non-linear model of pre-distortion for compensating the distortion introduced by the electronic device, wherein each basis function configuration corresponds to a different basis function set; determining a set of pre-distortion model weights corresponding to the selected basis function configuration; applying the selected basis function configuration and the set of pre-distortion model weights to the input signal, to produce a pre-distorted input signal for input to the electronic device.