1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-05 20:11:08 +08:00

del DEBUG log

This commit is contained in:
bxdd
2021-05-28 22:32:33 +08:00
parent 029b63c9dd
commit 96e393b599

View File

@@ -93,9 +93,6 @@ class TopkDropoutStrategy(ModelStrategy):
trade_start_time, trade_end_time = self.trade_calendar.get_step_time(trade_step)
pred_start_time, pred_end_time = self.trade_calendar.get_step_time(trade_step, shift=1)
pred_score = resam_ts_data(self.pred_scores, start_time=pred_start_time, end_time=pred_end_time, method="last")
print(
trade_step, pred_start_time, pred_end_time, trade_start_time, trade_end_time, pred_score, self.pred_scores
)
if pred_score is None:
return []
if self.only_tradable: