You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve LSI dimension mismatch with native Ruby SVD (#78)
Native Ruby SVD returns transposed matrix dimensions when
row_size < column_size (common case: few terms, many documents).
This caused ExceptionForMatrix::ErrDimensionMismatch during
classification with 10+ similar documents.
Two changes:
- Transpose reduced matrix when dimensions don't match input
- Iterate over column_size (documents) not row_size (terms)
Fixes#72
0 commit comments