Skip to content

Add support for multi:softmax objective #4

@eafpres

Description

@eafpres

I was hoping to use this in a case where I am using the multi:softmax objective:

model_params = {'colsample_bytree' : colsample_bytree,
                'gamma' : gamma,
                'learning_rate' : learning_rate,
                'max_depth' : max_depth,
                'min_child_weight' : min_child_weight,
                'n_estimators' : n_iters,
                'reg_alpha' : reg_alpha,
                'reg_lambda' : reg_lambda,
                'subsample' : subsample,
                'objective' : 'multi:softmax',
                'booster' : 'gbtree',
                'eval_metric' : 'merror',  
                'num_class' : 3,
                'base_score' : 0.5}

I realize this may be out of scope.
Thank you for the module, still very useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions