ValueError Traceback (most recent call last)
in <cell line: 5>()
3 for word in st:
4 seed_topics[word2id[word]] = t_id
----> 5 model.fit(data_vectorized, seed_topics=seed_topics, seed_confidence=0.95)
4 frames
_lda.pyx in lda._lda._loglikelihood()
/usr/local/lib/python3.10/dist-packages/lda/_lda.cpython-310-x86_64-linux-gnu.so in View.MemoryView.memoryview.cinit()
ValueError: ndarray is not Fortran contiguous
i've been working with my code for so long, but today somehow i found this error on my code. i know that lda package is updated, but i try to install and use the version before the updated version but it still didn't work. How can i solve this problem?
ValueError Traceback (most recent call last) in <cell line: 5>()
3 for word in st:
4 seed_topics[word2id[word]] = t_id
----> 5 model.fit(data_vectorized, seed_topics=seed_topics, seed_confidence=0.95)
4 frames _lda.pyx in lda._lda._loglikelihood()
/usr/local/lib/python3.10/dist-packages/lda/_lda.cpython-310-x86_64-linux-gnu.so in View.MemoryView.memoryview.cinit()
ValueError: ndarray is not Fortran contiguous
i've been working with my code for so long, but today somehow i found this error on my code. i know that lda package is updated, but i try to install and use the version before the updated version but it still didn't work. How can i solve this problem?