1. A method, comprising: accessing a plurality of samples, each sample comprising information associated with an input signal and a corresponding output signal of an amplifier; selecting a subset of the plurality of samples based on a sample distribution; determining a transfer function associated with the amplifier based on the subset of the plurality of samples; determining a predistortion function based on the transfer function; and applying the predistortion function to the input signal of the amplifier.