When using the fit method with anchors I get an index error from this line:
|
p_y_given_x[:, j] = 0.5 * p_y_given_x[:, j] + 0.5 * X[:, a].mean(axis=1).A1 # Assumes X is a binary matrix |
The error is understandable because if X is a 2d array, then X[:,i] is a 1d slice and thereforeX[:,i].mean(axis=1) is undefined because there is no dimension 1.
I've installed version corextopic==1.0.5 from pypi.
I can reproduce this for any arguments passed to anchors
When using the fit method with anchors I get an index error from this line:
corex_topic/corextopic/corextopic.py
Line 185 in 8399148
The error is understandable because if
Xis a 2d array, thenX[:,i]is a 1d slice and thereforeX[:,i].mean(axis=1)is undefined because there is no dimension1.I've installed version
corextopic==1.0.5from pypi.I can reproduce this for any arguments passed to
anchors