Number Of Features Of The Model Must Match The Input
For some reason the features of this dataset is being interpreted as rows, 'Model n_features is 16 and input n_features is 18189' Where 18189 is the number of rows and 16 is the c
Solution 1:
You have a small typo - you created the variable xTest
and then are immediately overwriting to something incorrect. Change the offending lines to:
xTest = test[list(features)].values
yTest = test["output"].values
Post a Comment for "Number Of Features Of The Model Must Match The Input"