AttributeError: ‘numpy.ndarray’ object has no attribute ‘columns’ when predict()
I’m trying to use the test set to make predictions, and when I use the Predict () function, the system gets the error ‘ AttributeError: ‘numpy.ndarray’ object has no attribute ‘columns’ ‘, ‘x_test’ is a 4-dimensional Pepin dataset, how can I solve it?’ Here’s part of my code: