Skip to content

Binary classification using roll_time_series #841

Discussion options

You must be logged in to vote

No problem at all! I greatly appreciate your work on an open-source library. I guess there are two ways to do it.

If you have data like
date | close | close median
01/01/2012 | 10 | 10

And if you want to make predictions on whether the stock will increase 5%, without lag columns, you would say that those features "date, close, and close median" for 01/01 would predict if tomorrow's price would jump or not.

With lag columns, so you're features you pass to the predition are close_t_1 and close_median_t_1 you would predict if 01/01 would jump or not. I chose the latter because I also track open data so it was easy for them to be together, but really it's just semantics.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nils-braun
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #828 on April 17, 2021 10:09.