We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16f452e commit 84c71dfCopy full SHA for 84c71df
target_ensemble.ipynb
@@ -2977,7 +2977,7 @@
2977
" )\n",
2978
" # per era correlation between this target and cyrus\n",
2979
" mean_corr_with_cryus = validation.groupby(\"era\").apply(\n",
2980
- " lambda d: d[target].corr(d[\"target_cyrus_v4_20\"])\n",
+ " lambda d: d[pred_col].corr(d[\"target_cyrus_v4_20\"])\n",
2981
" ).mean()\n",
2982
" target_summary_metrics[pred_col].update({\n",
2983
" \"mean_corr_with_cryus\": mean_corr_with_cryus\n",
0 commit comments