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

#1441: Fix issues with WordOccurenceAccumulator on Windows. #1449

Merged
merged 2 commits into from
Jun 26, 2017

Conversation

macks22
Copy link
Contributor

@macks22 macks22 commented Jun 25, 2017

Should resolve the first part of #1441.

For some reason, the "view" of the numpy array _uniq_words was not being updated on Windows, so I just rebuilt it each time it needed to be used instead of caching it once on init. If anyone can suggest an alternative approach that avoids this, I think that might be a more optimal solution. However, I doubt this added overhead is significant.

macks22 referenced this pull request Jun 26, 2017
Fix numpy/scipy version & disable nnz code from nose (temporary option)
@menshikh-iv
Copy link
Contributor

Great @macks22, thank you for PR 👍

@menshikh-iv menshikh-iv merged commit f52722e into piskvorky:develop Jun 26, 2017
@macks22 macks22 deleted the fix_windows_issues_2.2.0 branch July 5, 2017 11:12
saparina pushed a commit to saparina/gensim that referenced this pull request Jul 9, 2017
 (piskvorky#1449)

* piskvorky#1441: Fix issues with `WordOccurenceAccumulator` on Windows.

* piskvorky#1441: Use pre-scipy0.17 version of `scipy.sparse.diags` function by passing explicit `offset` parameter.
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.

2 participants