how to run evaluation.py by myself? #167
Answered
by
shaido987
greatofdream
asked this question in
BaiduKDDCup2022
|
The |
Answered by
shaido987
Jun 13, 2022
Replies: 2 comments
|
You can add the initial statements in the evaluation.py to invoke the eval() interface and run this script by yourself. |
0 replies
|
You can add the following to the evaluation.py file: if __name__ == '__main__':
evaluate("./initial-test-run"Then put the prepare.py, predict file, etc. in a subfolder called initial-test-run (or whatever you want to call it). Now you can run the evaluation.py file to make sure that your submission code works. It is also possible to use the |
0 replies
Answer selected by
zhoujingbo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can add the following to the evaluation.py file:
Then put the prepare.py, predict file, etc. in a subfolder called initial-test-run (or whatever you want to call it). Now you can run the evaluation.py file to make sure that your submission code works.
It is also possible to use the
evalfunction but then you need to create a zip file with the code first.