szcf-weiya
szcf-weiya
应该是墙的问题,从境外访问是正常的
Thanks for pointing. I think they are the same website, just use a new domain. Just had a try, https://web.stanford.edu/~hastie would be automatically redirected to https://hastie.su.domains/
after rewriting the testing error, the pattern of `p = 20` can be reproduced,  p = 100 cannot completely be reproduced, but if adjust the minimum `lambda`, then it...
tried different ways to calculate SNR - empirical from `Xbeta` - use `var(Xbeta)` formula, as also used in https://cran.r-project.org/web/packages/bestridge/vignettes/An-introduction-to-bestridge.html  - treat x individually, as in https://esl.hohoweiya.xyz/03-Linear-Methods-for-Regression/3.3-Subset-Selection/index.html  but the...
tried different SNR levels with the approach `beta Sigma beta`, it seems that a low SNR tends to reproduce the decreasing pattern.     
also tried different lambdas given SNR = 2, but no changes ```julia julia> run(p = 1000, nrep=100, λs = [0.001, 5000, 10000], snr = 2) ``` 
larger `p` does not reproduce, either. ```julia julia> run(p = 5000, nrep=100, λs = [0.001, 100, 1000], snr = 2) ``` 
The following calculation assumes `R_m` is fixed, but I think it should not be fixed (see the following first several sentences). However, I failed to obtain a closed form when...
## binary greedy partition (without pruning) for simplicity, I wrote a no-pruning version from scratch, ```julia julia> includet("df_regtree.jl") julia> [rep_calc_df(maxdepth=i) for i=0:4] 5-element Vector{Tuple{Float64, Float64}}: (1.080629443872466, 0.041187110826985264) (9.996914473623567, 0.11093327184178654) (21.34913882167176,...
## call `tree::prune.tree` to return a tree with the given number of terminal nodes, I call `tree::prune.tree`, which has an argument `best` to specify the number of terminal nodes, but...