Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Machine Learning with Financial Data - unstable results #108

Open
skyjiao opened this issue Jul 10, 2017 · 1 comment
Open

Machine Learning with Financial Data - unstable results #108

skyjiao opened this issue Jul 10, 2017 · 1 comment

Comments

@skyjiao
Copy link

skyjiao commented Jul 10, 2017

Hi,
I was trying out the "Machine Learning with Financial Data" notebook.
In the tutorial video, the prediction accuracy of the first trivial model is 65% (as is described in the notebook's text), however, the current version of the notebook on github showed an accuracy of 90% and when I ran the notebook myself both on my PC and on Google Cloud, I got 84%. I'm wondering what is going on here. Can anyone explain that to me?
Thanks,
Yang

@mormond
Copy link

mormond commented Jun 15, 2018

I think there's a flaw in the EDA calculation of the logged returns. closing_data is being shifted but it's not in date order so the result is not ln(Vt/Vt-1). ie it is not comparing the close on day x with the close on day x-1.

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

No branches or pull requests

3 participants