Skip to content

Commit

Permalink
add full explainer and tsr
Browse files Browse the repository at this point in the history
  • Loading branch information
khairulislam committed Sep 28, 2023
1 parent 1011c27 commit 87e40bd
Show file tree
Hide file tree
Showing 41 changed files with 1,763 additions and 762 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ lightning_logs
checkpoints
# some file sizes are too large for git
dataset
*.npy

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
4 changes: 2 additions & 2 deletions data_provider/data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ def __read_data__(self):
cols.remove('date')
df_raw = df_raw[['date'] + cols + [self.target]]
# print(cols)
num_train = int(len(df_raw) * 0.7)
num_test = int(len(df_raw) * 0.2)
num_train = int(len(df_raw) * 0.8)
num_test = int(len(df_raw) * 0.1)
num_vali = len(df_raw) - num_train - num_test
border1s = [0, num_train - self.seq_len, len(df_raw) - num_test - self.seq_len]
border2s = [num_train, num_train + num_vali, len(df_raw)]
Expand Down
Loading

0 comments on commit 87e40bd

Please sign in to comment.