set_params not working

fixed the problem
Merge pull request #5 from Mte90/patch-2

Fixed set_params.