Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Potential error in RT@1 calculation. #3

Open
jainkshitij opened this issue Jan 4, 2019 · 1 comment
Open

Potential error in RT@1 calculation. #3

jainkshitij opened this issue Jan 4, 2019 · 1 comment

Comments

@jainkshitij
Copy link

jainkshitij commented Jan 4, 2019

Why are the bt variables in the evaluator.py (bt_long, bt_long5, bt_long10) initialized as 1.0. They should have been initialized as 0.0.

@fulifeng
Copy link
Owner

fulifeng commented Jan 7, 2019

It's not an issue. We subtract 1.0 before report performance. The consideration of not initializing it with 0.0 is the potential of running back-testing where the total money changes along the testing days (money decreases if you loss money at the beginning).

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

No branches or pull requests

2 participants