Commit d52cd012 authored by 高雅喆's avatar 高雅喆

update

parent 0f5669a9
......@@ -256,7 +256,7 @@ if __name__ == '__main__':
parser.add_argument("-n", "--normalization_size", type=int, dest="normalization_size", default=7,
help="天数差归一化的区间")
parser.add_argument("-d", "--decay_days", type=int, dest="decay_days", default=180, help="分数衰减的天数")
parser.add_argument("-a", "--action_type", type=list, dest="action_type", default=["order"], help="计算匹配度的行为")
parser.add_argument("-a", "--action_type", dest="action_type", nargs='+', help="计算匹配度的行为")
args = parser.parse_args()
order_date = args.order_date
order_date_tomorrow = str(datetime.datetime.strptime(order_date, '%Y-%m-%d') + datetime.timedelta(days=1))
......
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