Skip to content

MAINT Pass liblinear X dimensions around as plain ints#14276

Merged
NicolasHug merged 1 commit intoscikit-learn:masterfrom
alexhenrie:dims
Jul 8, 2019
Merged

MAINT Pass liblinear X dimensions around as plain ints#14276
NicolasHug merged 1 commit intoscikit-learn:masterfrom
alexhenrie:dims

Conversation

@alexhenrie
Copy link
Copy Markdown
Contributor

@alexhenrie alexhenrie commented Jul 6, 2019

This is much easier to understand, it matches what we're doing in csr_set_problem and csr_to_sparse, and it eliminates the absolutely unnecessary conversion to float64_t.

Copy link
Copy Markdown
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

Matching the interface for csr_set_problem is nice :)

Copy link
Copy Markdown
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

Out of curiosity are you working on these files @alexhenrie ?

@alexhenrie
Copy link
Copy Markdown
Contributor Author

Yes I am working on these files. Once this pull request is merged, I will submit another one that drastically reduces the memory required when the inputs are 32-bit, then I will submit another one that does a bit more cleanup, and then hopefully I'll be done.

@NicolasHug NicolasHug merged commit 73b4898 into scikit-learn:master Jul 8, 2019
@alexhenrie alexhenrie deleted the dims branch July 8, 2019 17:28
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
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