Skip to content

Commit

Permalink
interactions done
Browse files Browse the repository at this point in the history
  • Loading branch information
rfl-urbaniak committed Jun 25, 2024
1 parent e68d51e commit 74d6be0
Show file tree
Hide file tree
Showing 7 changed files with 1,195 additions and 219 deletions.
3 changes: 2 additions & 1 deletion cities/modeling/evaluation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os

import pyro
import matplotlib.pyplot as plt
import seaborn as sns
import torch
Expand Down Expand Up @@ -44,6 +44,7 @@ def test_performance(
plot=True,
):

pyro.clear_param_store()
# TODO perhaps remove the original categorical levels here

assert all(
Expand Down
2 changes: 1 addition & 1 deletion cities/utils/data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __getitem__(self, idx):
}


def select_from_data(data, kwarg_names: Dict["str", List["str"]]):
def select_from_data(data, kwarg_names: Dict[str, List[str]]):
_data = {}
_data["outcome"] = data["continuous"][kwarg_names["outcome"]]
_data["categorical"] = {
Expand Down
Binary file modified data/minneapolis/processed/zoning_dataset.pt
Binary file not shown.
207 changes: 0 additions & 207 deletions docs/experimental_notebooks/zoning/performance_tests.ipynb

This file was deleted.

Large diffs are not rendered by default.

24 changes: 14 additions & 10 deletions docs/experimental_notebooks/zoning/zoning_data.ipynb

Large diffs are not rendered by default.

652 changes: 652 additions & 0 deletions docs/experimental_notebooks/zoning/zoning_performance_tests.ipynb

Large diffs are not rendered by default.

0 comments on commit 74d6be0

Please sign in to comment.