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

Machine Learning with Financial Data - unstable results #108

Open
@skyjiao

Description

@skyjiao

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

Activity

mormond

mormond commented on Jun 15, 2018

@mormond

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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Machine Learning with Financial Data - unstable results · Issue #108 · googledatalab/notebooks