tried to support older versions of sklearn which use IterGrid instead of ParameterGrid
removed warning for using IterGrid (sklearn gives its own warning)