dataspelunking / MLwR

Machine Learning with R
228 stars 419 forks source link

create a document-term sparse matrix is not working #1

Closed lokeshpayasi closed 5 years ago

lokeshpayasi commented 6 years ago

create a document-term sparse matrix code is giving error. error is _"Error in simple_triplet_matrix(i, j, v, nrow = length(terms), ncol = length(corpus), : 'i, j' invalid". how to solve this error.

dataspelunking commented 5 years ago

I am very late to responding to this, but I have never been able to reproduce this error. Happy to reopen later if needed.