-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
- I used LogisticRegression to test the code. I set C (which is the inverse of lambda) as np.logspace(-2,2,30), I observed that the index of the highest selection frequency is always from the highest C (lowest lambda). It seems that the Lasso method is not working?
- According to the definition of fj, when a feature j enters the Lasso path at a specific lambda (lets say L0, from high to low value), For L1<L0, the coefficient beta of the feature is non-zero. Theoretically speaking, if L2<L1<L0, we can say that the fj(L2)>fj(L1)>fj(L0), which means that smaller lambda produces higher selection frequency? It seems that there is no need to test multiple lambda values and if we set lambda to an extreme small value, we will be getting the best selection frequency?
- I also tries to rerun the code with different random seed, it seems that the results at each run is totally different because the knockoffs generated from each run is different.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels