Python机器学习哔站黑马学习笔记保存和加载模型On this page保存和加载模型sklearn模型的保存和加载APIfrom sklearn.externals import joblib保存:joblib.dump(rf, 'test.pkl')加载:estimator = joblib.load('test.pkl')