使用列表保存所有结果:
results = []for i in range(runs): results.append(model_solve(100))
然后通过以下方式获取输出数组:
np.hstack(results)
上一篇 当我使用python statsmodels在OLS中添加外生变量时,为什么R-Squared会减少
下一篇 Pythons random.randint统计上是随机的吗?
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号