📜  index.py:14: RuntimeWarning: true_divide return np.dot(user, user2) (norm(user) * norm(user2)) 中遇到无效值 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:17.109000             🧑  作者: Mango

代码示例1
import numpy as np
np.seterr(divide='ignore', invalid='ignore')