Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
model.predict([x_test]) error
IGO
Programming language:
Python
2021-04-05 00:44:52
0
Q:
model.predict([x_test]) error
BobMorane
Code:
Python
2021-06-30 02:08:35
Just put model.predict(x_test) instead of model.predict([x_test])
1
Tags
error
err
model
dict
Related
how to load pretrained model in pytorch
from sklearn.metrics import confusion_matrix pred = model.predict(X_test) pred = np.argmax(pred,axis = 1) y_true = np.argmax(y_test,axis = 1)
how to find the accuracy of linear regression model
sklearn train_test_split
split data train, test by id python
split imagedatagenerator into x_train and y_train
pytest run only failed test
predict stock price python
scatter plot actual vs predicted python
New to Communities?
Join the community