1.当样本数(sample)小于特性数(feature)时用于提高预测协方差矩阵的工具。
2.只有当solver 为 ‘lsqr’ 或 ‘eigen’时可用。
3.值在0-1之间:
当为0时,即没有shrinkage;当为1时,意味着用方差的对角阵来评估协方差矩阵(which means that the diagonal matrix of variances will be used as an estimate for the covariance matrix)。
链接:https://scikit-learn.org/stable/modules/lda_qda.html#lda-qda
discriminant_analysis.LinearDiscriminantAnalysis 的Shrinkage参数
最新推荐文章于 2024-04-02 21:08:09 发布