mycode:
model = make_pipeline(data_preprocessor, KNeighborsClassifier())
print("params = ", model.get_params())
if i do :
clf = KNeighborsClassifier()
print("params = ", clf.get_params()) it works but it’s not whats is required…
Thank you
mycode:
model = make_pipeline(data_preprocessor, KNeighborsClassifier())
print("params = ", model.get_params())
if i do :
clf = KNeighborsClassifier()
print("params = ", clf.get_params()) it works but it’s not whats is required…
Thank you
Well i understood why:
my data_preprocessor is not correct i forgot the brackets after StandardScaler