def get_params(self):
out = {}<EOL>out['<STR_LIT>'] = self.__class__<EOL>out['<STR_LIT>'] = dict(steps=[])<EOL>for name, step in self.steps:<EOL><INDENT>out['<STR_LIT>']['<STR_LIT>'].append([name, step.get_params(deep=True)])<EOL><DEDENT>return out<EOL>
Get the parameters for this object.  Returns as a dict.