标签: python
我已经按照下面的链接中所述实现了hrp。我用不同的输入运行。该代码产生合理的结果,但我收到错误消息:
“ 主要:75:ClusterWarning:scipy.cluster:对称的非负空心观测矩阵看起来像一个不凝聚的距离矩阵”
有人可以解释它的意思吗?
代码链接: https://github.com/lcamposgarrido/data-science_projects/blob/master/others/hierarchical_risk_parity/HRP.ipynb