滚动回测模型怎么保存?
由ddx1897460创建,最终由small_q 被浏览 27 用户
有时候滚动回测完了跑两三多小时结果跑出来发现模型不能保存。。。
错误代码为
NameError Traceback (most recent call last) <ipython-input-1-0a1ea060cc6f> in <module> ----> 1 pd.to_pickle(m10.output_model.read(), 'xgboost16少函数.csv') 2 model_info = pd.read_pickle('xgboost16少函数.csv') 3 features = model_info['features'] 4 parameters = model_info['parameters'] 5 model = model_info['model']
NameError: name 'm10' is not defined
\