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

Artificial dataset test failure - Warning about singular matrix #22

Closed
antoinecarme opened this issue Jan 4, 2017 · 3 comments
Closed

Comments

@antoinecarme
Copy link
Owner

A second group of failures. The following warning is raised :

logs/test_artificial_1024_cumsum_constant_5__20.log:UserWarning: Singular matrix in solving dual problem. Using least-squares solution instead.

sample script :

tests/artificial/transf_cumsum/trend_constant/cycle_5/ar_/test_artificial_1024_cumsum_constant_5__20.py

@antoinecarme antoinecarme self-assigned this Jan 4, 2017
antoinecarme added a commit that referenced this issue Jan 4, 2017
antoinecarme added a commit that referenced this issue Jan 4, 2017
Added a notebook and a dataset to analyze this issue.
@antoinecarme
Copy link
Owner Author

antoinecarme commented Jan 4, 2017

change the solver ... force svd => no warning
accodrding to this doc :
http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Ridge.html

This is a quite good fix but will change all AR/ARX models => run all the tests before commit.

@antoinecarme
Copy link
Owner Author

Ran the necessary tests ... small impact on air passengers dataset. => commit is possible.

antoinecarme added a commit that referenced this issue Jan 4, 2017
Changer the solver by default for linear models.
@antoinecarme
Copy link
Owner Author

Fixed!

antoinecarme added a commit that referenced this issue Jan 9, 2017
…ion #24

Artificial dataset test failure - Warning about singular matrix #22

Artificial dataset test failure #21

Updated these references.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant