Python导入pyLDAvis模块 - DeprecationWarning

时间:2018-06-18 13:11:41

标签: python scikit-learn visualization lda topic-modeling

我尝试使用pyLDAvis python模块可视化我的主题建模结果。但是当我尝试导入时:

import pyLDAvis
import pyLDAvis.sklearn

然后我收到以下警告:

...\site-packages\msgpack_numpy.py:77: DeprecationWarning: The binary mode of fromstring 
is deprecated, as it behaves surprisingly on unicode inputs.
Use frombuffer instead dtype=np.dtype(descr)).reshape(obj[b'shape'])

很多这些警告会产生,总是在同一个文件中。有人知道,我该如何解决这个问题?谢谢!

0 个答案:

没有答案