保存和导出训练模型 | joblib 模块

from sklearn.externals import joblib

joblib.dump(my_model, "model.pkl")
# ...
my_model_loaded = joblib.load("my_model.pkl")

你可能感兴趣的:(数据挖掘)