Closed bbayukari closed 1 year ago
I think this bug is relate to a recent pull request.https://github.com/abess-team/abess/pull/477#issue-1561278366
Yep, there is a change here:
Kfolds
should be 1 to enable IC;ic_type
should be 0 to use test loss in CV.However, CV may not be a good strategy in PCA. (As you found, it will return the largest sparsity)
I believe this issue has been addressed. So I will remove the bug
label.
Describe the bug
All types of tune go wrong in PCA model, include "gic", "aic", "bic", "ebic" and "cv". Specifically, all information metric methods return 0; the result of "cv" method monotonically decreases as
support_size
increases so it's useless for selectingsupport_size
.Code for Reproduction
Results:
Desktop (please complete the following information):