Commit 47bceef8 authored by 郭羽's avatar 郭羽

特征工程优化

parent 1d90bbec
......@@ -183,14 +183,13 @@ if __name__ == '__main__':
curTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
print("train_service执行时间:{}".format(curTime))
splitTimestamp = int(time.mktime(time.strptime(addDays(-1), "%Y%m%d")))
splitTimestamp = int(time.mktime(time.strptime(addDays(0), "%Y%m%d")))
# redis中加载数据字典
print("redis 中加载模型字典...")
data_vocab = getDataVocabFromRedis(VERSION)
assert data_vocab
print("读取数据...")
timestmp1 = int(round(time.time()))
df_train = loadData(data_path_train)
print(df_train.dtypes)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment