Skip to content

Redundant parameter error with HomoSecureBoost #3871

Answered by Rono-BC
Rono-BC asked this question in Q&A
Discussion options

You must be logged in to vote

I figured out the answer. In case anyone else is wondering the same, max_depth is from the DecisionTreeParam class. Its parameters can bet set under tree_param as part of the params passed for a HomoSecureBoost model as below:

homo_sb_params = {
            'num_trees': 100,
            'task_type': 'classification',
            'learning_rate': 0.1,
            'tree_param': {
                'max_depth': 5,
            }
        }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Rono-BC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant