set random seed in fit()