Skip to content

LightGBM: IsUnbalanced is relevant for OVA multi class #3688

@rauhs

Description

@rauhs

Version: 1.0

Setup:

  • LightGBM Multiclass trainer
  • NOT softmax (thus: "objective" = "mutliclassova").

Before 1.0 we had UnbalancedSets available for the three booster configs, but this option was removed it seems.

Though, that option very much had an effect on performance in this case.

You can see that the OVA objective just calls the binary one:

https://github.com/microsoft/LightGBM/blob/0a4a7a86f5a1d3146c36c7d8c082154a193d4893/src/objective/multiclass_objective.hpp#L173-L182

which will happily use the config parameter:

https://github.com/microsoft/LightGBM/blob/0a4a7a86f5a1d3146c36c7d8c082154a193d4893/src/objective/binary_objective.hpp#L20-L36

Metadata

Metadata

Assignees

Labels

APIIssues pertaining the friendly APIP1Priority of the issue for triage purpose: Needs to be fixed soon.enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions