Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

NameError: name 'test' is not defined #4

Open
worldsoft opened this issue Aug 19, 2023 · 1 comment
Open

NameError: name 'test' is not defined #4

worldsoft opened this issue Aug 19, 2023 · 1 comment

Comments

@worldsoft
Copy link

when executing code targets = test[aim][window_len:]
preds = model.predict(X_test).squeeze()
mean_absolute_error(preds, y_test)
an error occurs "NameError: name 'test' is not defined" how can i fix this error?

@lemaxa
Copy link

lemaxa commented Jan 1, 2024

replace test by test_data

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants