I\'m trying to pass a scaled training dataset for kNN but I keep getting this type error.
knn = Pipeline([MinMaxScaler(),KNeighborsRegressor()]) rf = RandomFo