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

Why the coefficient of Lag 1 is positive ? #2

Open
2eleven2 opened this issue Apr 21, 2021 · 1 comment
Open

Why the coefficient of Lag 1 is positive ? #2

2eleven2 opened this issue Apr 21, 2021 · 1 comment

Comments

@2eleven2
Copy link

The block 5 outputs the coefficient of each variables. Why the coefficient of Lag1 is positive ? It should be negative, right ?

@guin0x
Copy link

guin0x commented Aug 24, 2022

The coefficient that is given in the ISLR book can be found using the line model.scalings_ instead of model.coef_. Those are the same coefficients of linear discriminants given in the book.

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