Knn-Python網格化搜索超參數及數據歸一化處理

# 將數據分爲測試集和訓練集 from sklearn.model_selection import train_test_split X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=666) from sklearn.neighbors import KNeighbors
相關文章
相關標籤/搜索