-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Missing terms on C3 linearity check inplementation #585
Comments
@dbarbier or @eduardojlbatista Do you want to supply a PR to fix this docstring issue? Thanks! |
dbarbier
added a commit
to dbarbier/tsfresh
that referenced
this issue
Nov 17, 2019
There were two issues: * sum index should start from 1 and not 0 * x[i+2*lag] should not be squared Fix blue-yonder#585.
Merged
MaxBenChrist
pushed a commit
that referenced
this issue
Nov 28, 2019
There were two issues: * sum index should start from 1 and not 0 * x[i+2*lag] should not be squared Fix #585.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good day sir. I've been testing your library for feature selection and have been excited with the ideas presented. However, while scanning through the docummentation of the C3 feature calculator I noticed an error on the algorythm. While you present it as a mean of the lag operator in the form of "E[L^2(X)^2*L(X)*X]", while coding there's a missing square on the formulation. I attached some examples I tried to check if I wasn't mistake. Hope it helps! Thank you very much for your hard work!
lag = 2
np.mean((_roll(x, 2 * -lag) * _roll(x, -lag) * x)[0:(n - 2 * lag)])
np.mean((x**2) * x.shift(periods=lag) * x.shift(periods = 2*lag))
Thank you very much!
The text was updated successfully, but these errors were encountered: