@ogrisel 
Thanks for all your comments, for this one ``rand`` does not take ``random_state`` as an argument.