DoubleML / DoubleML/DML-Hyperparameter-Tuning-Replication

wrong paths in plots_and_figures.ipynb

Offen Anfängerfreundlich
#1 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
3
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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",
}
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
jupyter-notebook, pandas, python
Bereich
data-visualization
Issue-Typ
Bug
Schwierigkeit
1/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
65/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.