本文主要介绍scikit-learn中的模型的保存与加载。
- Demo 1
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 结果
- 1
- Demo 2
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 结果
转载自:http://blog.youkuaiyun.com/quincuntial/article/details/71244324
参考:
http://scikit-learn.org/stable/modules/model_persistence.html
https://docs.python.org/2/library/pickle.html#
http://sklearn.lzjqsdd.com/tutorial/basic/tutorial.html#model-persistence