Skip to content

[MRG+2] fix #5269: Overflow error with sklearn.datasets.load_svmlight#7101

Merged
jnothman merged 3 commits intoscikit-learn:masterfrom
olologin:qid2
Aug 3, 2016
Merged

[MRG+2] fix #5269: Overflow error with sklearn.datasets.load_svmlight#7101
jnothman merged 3 commits intoscikit-learn:masterfrom
olologin:qid2

Conversation

@olologin
Copy link
Copy Markdown
Contributor

Looks like previous branch is somehow corrupted, created new branch and applied patches. Previous review #5580.

Fix #5269.

svmlight implementation uses long data type to read and store qid, so i think it makes sense to do same in scikit-learn implementation.

@olologin olologin changed the title [MRG] fix #5269: Overflow error with sklearn.datasets.load_svmlight [MRG+2] fix #5269: Overflow error with sklearn.datasets.load_svmlight Jul 30, 2016
Comment thread doc/whats_new.rst
By `Tom Dupre la Tour`_.

- :func:`datasets.load_svmlight_file` now is able to read long int QID values.
By `Ibraim Ganiev`_.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe put a link to the PR?

Copy link
Copy Markdown
Contributor Author

@olologin olologin Aug 2, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nelson-liu Yes, you are right.

@jnothman jnothman merged commit 928f724 into scikit-learn:master Aug 3, 2016
@jnothman
Copy link
Copy Markdown
Member

jnothman commented Aug 3, 2016

Thanks

@olologin
Copy link
Copy Markdown
Contributor Author

olologin commented Aug 3, 2016

@jnothman , Oh, finally. Thank you too :)

@jnothman
Copy link
Copy Markdown
Member

jnothman commented Aug 3, 2016

No problem, thanks for nagging.

On 3 August 2016 at 13:56, Ganiev Ibraim notifications@github.com wrote:

@jnothman https://github.com/jnothman , Oh, finally. Thank you too :)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#7101 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEz6_rk7YLAMH4bQAfNqted6nFATJ4vks5qcBFtgaJpZM4JW9Fo
.

TomDLT pushed a commit to TomDLT/scikit-learn that referenced this pull request Oct 3, 2016
…d_svmlight (scikit-learn#7101)

* fix for scikit-learn#5269, overflow error

* test with long qid added

* What's new section added
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

Successfully merging this pull request may close these issues.

3 participants