Skip to content

Commit

Permalink
Resolve malaria dataset error (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjmaddox authored Apr 19, 2022
1 parent dd4a6a2 commit aed9a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finite_ntk/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def generate_data(

df = pd.read_hdf(hdf_loc, "full")

is_train_year = torch.from_numpy((df["year"] == test_year).values)
is_train_year = torch.from_numpy((df["year"] == train_year).values)
is_ng = torch.from_numpy(df["is_ng"].values).bool()
is_test = torch.from_numpy((df["year"] == test_year).values)

Expand Down

0 comments on commit aed9a89

Please sign in to comment.