dmlc / dmlc/xgboost

Feature request - please support weight per label per sample

Open
#10,889 1 comment 2 reactions 0 assignees View on GitHub
feature-request
Dominant language
C++
Stars
28.8k
Forks
8.9k
Avg merge
1d 12h
Merged PRs (30d)
54

Description

Currently DMatrix weight argument is per sample, the shape is `[n_samples]`.

Please allow different weights to be specified for each sample and each label, the weight shape would be `[n_samples,n_labels]`.

This would be useful in some multi-output binary classification problems where label importance are different for each sample.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.