【问题标题】:Is it possible to export MultiClassification model in Python with Catboost?是否可以使用 Catboost 在 Python 中导出 MultiClassification 模型?
【发布时间】:2019-05-08 07:16:57
【问题描述】:

我正在尝试将我的 MultiClassification 模型保存在 Python 中。

我知道目前 Catboost 目前不支持在 Python 中保存 MultiClassification 模型。

是否有任何解决方法,如果我想保存并应用此模型,我必须使用 Java 还是其他方式?

model1.save_model('../model', pool=train_dataset , format="python")

【问题讨论】:

    标签: python model multiclass-classification catboost


    【解决方案1】:

    发现您可以设置 format="cbm" 以将其保存为二进制格式。

    【讨论】:

    • 你应该更喜欢二进制格式而不是其他格式,因为这种格式的模型要小得多,预测速度也更快。
    猜你喜欢
    • 2019-10-28
    • 2010-11-16
    • 2021-07-04
    • 2018-09-13
    • 1970-01-01
    • 2019-12-25
    • 2021-09-14
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多