model.predict(X_test) code example Example: model.predict([x_test]) error Just put model.predict(x_test) instead of model.predict([x_test])