piskvorky / gensim

Topic Modelling for Humans
https://radimrehurek.com/gensim
GNU Lesser General Public License v2.1
15.55k stars 4.37k forks source link

Optimize sparse * random dense matrix multiply in LsiModel #1888

Open ghost opened 6 years ago

ghost commented 6 years ago

Progress tracking bug.

menshikh-iv commented 6 years ago

Hi @brianmingus, glad to see you here :+1:

About Cython compilation:

ghost commented 6 years ago

Just remembered that I have some local modifications to cs.h which will hopefully fix the integration.


/* #ifdef MATLAB_MEX_FILE */
/* #undef csi */
/* #define csi mwSignedIndex */
/* #endif */
/* #ifndef csi */
/* #define csi ptrdiff_t */
/* #endif */

// FORCE use of 32 bit int offsets, because thats what scipy uses so we can
// avoid a copy.
#define csi int32_t
menshikh-iv commented 6 years ago

Related PR #1896