Skip to content

Commit

Permalink
Move UAI experiments and analysis into experiments/ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
bradyneal committed Mar 27, 2021
1 parent 522bc8f commit 41e19e3
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*.pdf
*.png
ihdp*.npz*
experiments/
GenModelCkpts/

# Mac files
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions uai_experiments.py → experiments/uai_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
import time
from pathlib import Path

from evaluation import calculate_metrics
from experiments.evaluation import calculate_metrics
from causal_estimators.ipw_estimator import IPWEstimator
from causal_estimators.standardization_estimator import \
StandardizationEstimator, StratifiedStandardizationEstimator
from evaluation import run_model_cv
from experiments.evaluation import run_model_cv
from loading import load_from_folder

from sklearn.linear_model import LogisticRegression, LinearRegression, Lasso, Ridge, ElasticNet, RidgeClassifier
Expand Down
2 changes: 1 addition & 1 deletion tests/test_metrics.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
from pytest import approx

from evaluation import calculate_metrics
from experiments.evaluation import calculate_metrics
from models.linear import LinearGenModel
from data.synthetic import generate_wty_linear_multi_w_data
from causal_estimators.ipw_estimator import IPWEstimator
Expand Down

0 comments on commit 41e19e3

Please sign in to comment.