Discussion:
[gensim:11746] lda topic assignment error:ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Sankaranarayanan Subbayya
2018-11-02 21:24:44 UTC
Permalink
Hi,

I get the lda topic assignment error

lda_topic_assignment = [max(p, key = lambda item: item[1]).all() for p in
lda_model10[corpus] ]

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()


Any help would be very much appreciated.


Thanks,


Sankar
--
You received this message because you are subscribed to the Google Groups "Gensim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gensim+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...