DoubleML / DoubleML/DML-Hyperparameter-Tuning-Replication

wrong paths in plots_and_figures.ipynb

オープン 初心者向け
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
3
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

The reading of data in section `Load Results` in `evaluation/plots_and_figures.ipynb` contain incorrect paths. The following seems to work instead:

```
oracle_df = pd.read_csv("results/acic/oracle.csv", delimiter=";")
#oracle_df = pd.read_csv("simulations/results/oracle.csv", delimiter=";")

paths = {
#"Lasso": f"simulations/results/acic_v2/{model}/LassoCV/Scenario{sc+1}_LassoCV_{scheme}.csv",
#"Random Forest": f"simulations/results/acic_v2/{model}/RandomForest/Scenario{sc+1}_{scheme}.csv",
#"XGBoost": f"simulations/results/acic_v2/{model}/XGBoost/Scenario{sc+1}_{scheme}.csv",
#"FLAML": f"simulations/results/acic_v2/{model}/Scenario{sc+1}/60_{scheme}.csv",
#"LinearModels": f"simulations/results/acic_v2/{model}/LinearModels/Scenario{sc+1}_LinearModels_{scheme}.csv",
"Lasso": f"results/acic/{model}/LassoCV/Scenario{sc+1}_LassoCV_{scheme}.csv",
"Random Forest": f"results/acic/{model}/RandomForest/Scenario{sc+1}_{scheme}.csv",
"XGBoost": f"results/acic/{model}/XGBoost/Scenario{sc+1}_{scheme}.csv",
"FLAML": f"results/acic/{model}/Scenario{sc+1}/60_{scheme}.csv",
"LinearModels": f"results/acic/{model}/LinearModels/Scenario{sc+1}_LinearModels_{scheme}.csv",
}
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Open evaluation/plots_and_figures.ipynb and go to the `Load Results` section. Check the data paths used for the oracle and model result files against the working `results/acic/...` paths shown in the issue. Run the notebook through the plotting steps and confirm it loads the data without path errors.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
jupyter-notebook, pandas, python
領域
data-visualization
issue の種類
バグ
難易度
1/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
65/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。