mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-23 15:58:08 +00:00
feat(Data): added day_month, month, day_week columns as features
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ from utils.normalize import normalize
|
||||
import tensorflow as tf
|
||||
from utils.visualize import visualize_loss
|
||||
|
||||
data = load_files('data/', True)
|
||||
data = load_files('data/', add_features=True, log_returns=True)
|
||||
data.reset_index(drop=True, inplace=True)
|
||||
data = data[[column for column in data.columns if not column.endswith('volume')]]
|
||||
data = data[["BTC_returns", "BTC_mom_10", "BTC_mom_20", "BTC_mom_30", "BTC_vol_10", "BTC_mom_20", "BTC_vol_20"]]
|
||||
|
||||
Reference in New Issue
Block a user