Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 26, 2024
1 parent ea25fa5 commit 33ef13f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def load_labels(self) -> pd.DataFrame:
df[START], df[END] = date(2022, 1, 1), date(2023, 7, 31)
df[SUBSET] = train_val_test_split(df.index, 0.3, 0.3)
return df

class Uganda_NorthCEO2016(LabeledDataset):
def load_labels(self) -> pd.DataFrame:
raw_folder = raw_dir / "Uganda_North_2016"
Expand Down Expand Up @@ -613,7 +613,7 @@ def load_labels(self) -> pd.DataFrame:
df[START], df[END] = date(2019, 1, 1), date(2020, 12, 31)
df[SUBSET] = train_val_test_split(df.index, 0.3, 0.3)
return df

class RwandaCropArea2019(LabeledDataset):
def load_labels(self) -> pd.DataFrame:
raw_folder = raw_dir / "Rwanda-Crop-Area-2019"
Expand Down

0 comments on commit 33ef13f

Please sign in to comment.