LightGBM/examples/multiclass_classification
Belinda Trotta 222775ca29 auc-mu metric (#2567)
* Fix bug where small values of max_bin cause crash.

* Revert "Fix bug where small values of max_bin cause crash."

This reverts commit fe5c8e2547.

* Add auc-mu multiclass metric.

* Fix bug where scores are equal.

* Merge.

* Change name to auc_mu everywhere (instead of auc-mu).

* Fix comparison between signed and unsigned int.

* Change name to AUC-mu in docs and output messages.

* Improve test.

* Use prefix increment.

* Update R package.

* Fix style issues.

* Tidy up test code.

* Read all lines first then process.

* Allow passing AUC-mu weights directly as a list in parameters.

* Remove unused code, improve example and docs.
2019-12-12 23:27:27 +03:00
..
README.md [docs] updated instructions in examples to match ones from ranking example (#2585) 2019-11-22 20:03:00 +03:00
multiclass.test Support multiclass classification (#53) 2016-11-01 13:31:44 +08:00
multiclass.train Support multiclass classification (#53) 2016-11-01 13:31:44 +08:00
predict.conf Support multiclass classification (#53) 2016-11-01 13:31:44 +08:00
train.conf auc-mu metric (#2567) 2019-12-12 23:27:27 +03:00

README.md

Multiclass Classification Example

Here is an example for LightGBM to run multiclass classification task.

You must follow the installation instructions for the following commands to work. The lightgbm binary must be built and available at the root of this project.

Training

Run the following command in this folder:

"../../lightgbm" config=train.conf

Prediction

You should finish training first.

Run the following command in this folder:

"../../lightgbm" config=predict.conf