【问题标题】:How to set force_col_wise=True in LGBClassifier Scikit-Learn API with cross_validate如何使用 cross_validate 在 LGBClassifier Scikit-Learn API 中设置 force_col_wise=True
【发布时间】:2021-01-08 06:18:26
【问题描述】:

我正在使用带有cross_validate 的 LGBMClassifier Scikit-Learn API。我想设置force_col_wise=True,因为自动选择需要很多时间。

Auto-choosing col-wise multi-threading, the overhead of testing was 47.296749 seconds.
You can set `force_col_wise=true` to remove the overhead.

但我在文档中找不到与它相关的任何内容。怎么做?

https://lightgbm.readthedocs.io/en/latest/pythonapi/lightgbm.LGBMClassifier.html

https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.cross_validate.html

【问题讨论】:

  • 你能加个代码sn-p吗?

标签: scikit-learn lightgbm


【解决方案1】:

尝试将其包含在您的参数列表中: 'force_col_wise':'真'

【讨论】:

    猜你喜欢
    • 2013-07-16
    • 2020-06-11
    • 2018-09-07
    • 1970-01-01
    • 2018-03-18
    • 2013-04-10
    • 1970-01-01
    • 2015-08-03
    • 2019-01-16
    相关资源
    最近更新 更多