나는 그것에 kerasRegressor와 scikit 배우기 pipline 있습니다keras regressor가있는 scikit-learn pipline을 디스크에 저장하는 방법은 무엇입니까?
estimators = [
('standardize', StandardScaler()),
('mlp', KerasRegressor(build_fn=baseline_model, nb_epoch=5, batch_size=1000, verbose=1))
]
pipeline = Pipeline(estimators)
의 pipline 훈련, 나는 ... JOBLIB를 사용하여 디스크에 저장
joblib.dump(pipeline, filename , compress=9)
을하려하지만 무엇입니까 후 오류 :
RuntimeError: maximum recursion depth exceeded
어떻게 파이프 라인을 디스크에 저장 하시겠습니까?
당신은 볼 수 있었다 딜에서. 어쩌면 작동합니다 https://pypi.python.org/pypi/dill – Moritz
최대 재귀 수준의 값을 단순히 늘려야합니다. http://stackoverflow.com/questions/3323001/maximum-recursion-depth – user1808924