How to create a co-occurence matrix in python

co-occurrence
python
text_analytics

#1

hello,

I have been looking for a function to create a co-occurrence matrix in python but have been unable to find any good one.Can someone please help me regarding this?


#2

Hi @pagal_guy,

Do you really need a function for this? You could directly do a matrix multiply right?

Refer this and this