Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从这里复制并粘贴 PCA 代码。
但是,我遇到以下错误:
ImportError: cannot import name eigen_symmetric
为什么会发生这种情况以及如何解决?
该eigen_symmetric函数已重命名为eigshin Scipy 0.9.0。您需要查找并替换所有出现的eigen_symmetricwith eigsh。
eigen_symmetric
eigsh
Scipy 0.9.0
请检查您是否已将 scipy 库添加到根路径