There was an error while loading. Please reload this page.
1 parent d75bd11 commit cb54293Copy full SHA for cb54293
rfe_cv.py
@@ -67,7 +67,7 @@ def rfe_cv(df, vars_x, var_y, estimator, cv=5, std_scaling=False, figsize=(8,4))
67
68
ax1.fill_between(
69
np.arange(len(v_rank_mean)),
70
- v_rank_mean + v_rank_std/np.sqrt(n_splits),
+ v_rank_mean + v_rank_std/np.sqrt(n_splits), # stddev of mean as s/sqrt(n) is not right, the true value is higher
71
v_rank_mean - v_rank_std/np.sqrt(n_splits),
72
alpha=0.1,
73
color='b'
0 commit comments