SKLearn FastICA - 如何获取负载?

Fos*_*osa 5 pca scikit-learn

对于 PCA 载荷计算公式如下:

loadings = pca.components_.T * np.sqrt(pca.explained_variance_)
Run Code Online (Sandbox Code Playgroud)

对于 ICA 没有 .explained_variance_ 数组,那么它只是吗?:

ica.components_[]
Run Code Online (Sandbox Code Playgroud)

Dus*_*jic 0

请注意,PCA 载荷与您可能想要使用的 ICA“系数”有很大不同。文档中的示例提供了代码片段,但您需要先阅读作者的注释,然后再继续。

简要ica.mixing_给出未混合的信号成分及其伪逆提供的系数,在 中ica.components_,应用于数据以获得这些混合成分。(作为对 ICA 目的的厌恶,我认为你正在寻找混合位。)