Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问在SecureBoost中,如何像XGBoost一样设置特征值的单调性约束,如monotone_constraint #5245

Open
huangjiyong opened this issue Nov 1, 2023 · 4 comments

Comments

@huangjiyong
Copy link

在项目中遇到一个问题,需要设置某些特征为单调约束,在XGBoost中可以通过设置参数“monotone_constraint”来实现(如下图),但在SecureBoost中始终未找到相关的设置。
WXWorkCapture_16988264397780

@talkingwallace
Copy link
Contributor

目前sbt没有提供这样的参数功能的

@huangjiyong
Copy link
Author

目前sbt没有提供这样的参数功能的

那如果需要对特征值做单调约束,有其他方法来实现吗? 目前看Feature_bin里有单调约束的输出结果。
WXWorkCapture_169864878918

@talkingwallace
Copy link
Contributor

这里是woe的单调性 可能和sbt的要求不一样?

@huangjiyong
Copy link
Author

目前sbt没有提供这样的参数功能的

后续有计划提供单调性约束的参数吗?这个在很多场景下是需要设置音调约束的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants