aboutsummaryrefslogtreecommitdiffstats
path: root/lstm.py
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-09-02 12:12:56 +0000
committerbloodstalker <thabogre@gmail.com>2018-09-02 12:12:56 +0000
commit94cc1d159e62c5dce5d43faede3e85f63f451cdd (patch)
tree2cde013d4233b9251c8ad12cc35e8dd92b67f2bf /lstm.py
parentupdate (diff)
downloadseer-94cc1d159e62c5dce5d43faede3e85f63f451cdd.tar.gz
seer-94cc1d159e62c5dce5d43faede3e85f63f451cdd.zip
update
Diffstat (limited to '')
-rwxr-xr-xlstm.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lstm.py b/lstm.py
index 751b60d..0860628 100755
--- a/lstm.py
+++ b/lstm.py
@@ -46,7 +46,6 @@ def getData_CMC(crypto, crypto_short):
kwargs = {'close_off_high': lambda x: 2*(x['High']- x['Close'])/(x['High']-x['Low'])-1, 'volatility': lambda x: (x['High']- x['Low'])/(x['Open'])}
market_info = market_info.assign(**kwargs)
model_data = market_info[['Date']+[coin+metric for coin in [""] for metric in ['Close','Volume','close_off_high','volatility']]]
- #model_data = market_info[['Date']+[metric for metric in ['Close','Volume','close_off_high','volatility']]]
model_data = model_data.sort_values(by='Date')
print(model_data.head())
return model_data