... 或定義一個全域的 RandomState,來傳給所有需要的函式。 from sklearn.utils import check_random_state >>> rs = check_random_state(1000) <mtrand.
確定! 回上一頁