摘要: 在参数调优的过程中,不同个体数的样本组合需要计算,但是一个一个用for来穷尽组合的可能显得太过笨拙,查到可以用itertools中的combinations模块来处理类似的问题: from itertools import combinations from sys import argv impo 阅读全文
posted @ 2023-03-16 17:37 xjce 阅读(199) 评论(0) 推荐(0) 编辑