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

Error while model fit #68

Open
LaksmiDN opened this issue Jun 20, 2024 · 0 comments
Open

Error while model fit #68

LaksmiDN opened this issue Jun 20, 2024 · 0 comments

Comments

@LaksmiDN
Copy link

LaksmiDN commented Jun 20, 2024


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?

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

No branches or pull requests

1 participant