Also, ``param_range`` should probably be an explicit dict rather than **kwargs.

For example, what if you want to do a learning curve for an estimator which has a parameter called ``cv``?  As written, you'd get a "duplicate keyword argument" error.