Problem is caused by (numerous) documents missing in the document-topic weights data, which causes
wrong shape of theta matrix. Error occurs when the max document id is missing in the data since
the shape of the matrix then doesn't match the shape of the document index.
Topic-Topic network feature in topic modelling notebook raises "Inconsistent shape error".
Problem is caused by (numerous) documents missing in the document-topic weights data, which causes wrong shape of theta matrix. Error occurs when the max document id is missing in the data since the shape of the matrix then doesn't match the shape of the document index.