ValueError: Unknown label type: 'continuous'

原碼python def test_KNeighborsRegressor_k_w(*data): X_train,X_test,y_train,y_test=data Ks=np.linspace(1,y_train.size,num=100,endpoint=False,dtype='int') weights=['uniform','distance'] #繪
相關文章
相關標籤/搜索