sklearn的train_test_split函數的random_state

  咱們使用sklearn進行機器學習以前,通常使用train_test_split來進行數據集的分割,其參數random_state表明什麼呢?python >>>from sklearn.model_selection import train_test_split >>> x = [1,2,3,4,5,6,7,8,9,10] >>> y = [1,2,3,4,5,6,7,8,9,10] x
相關文章
相關標籤/搜索