Multiclassification settings
classes_count
Command-line: --classes-count
Description
The upper limit for the numeric class label. Defines the number of classes for multiclassification.
Only non-negative integers can be specified. The given integer should be greater than any of the label values.
If this parameter is specified the labels for all classes in the input dataset should be smaller than the given value
Type
int
Default value
Python package
None.
maximum class label + 1
R package
maximum class label + 1
Command line
maximum class label + 1
if the--class-names
parameter is not specified- the quantity of classes names if the
--class-names
parameter is specified
Supported processing units
CPU and GPU
--class-names
This parameter is only for Command-line.
Description
Classes names. Allows to redefine the default values when using the MultiClass and Logloss metrics.
If the upper limit for the numeric class label is specified, the number of classes names should match this value.
Warning
The quantity of classes names must match the quantity of classes weights specified in the --class-weights
parameter and the number of classes specified in the --classes-count
parameter.
Format:
<name for class 1>,..,<name for class N>
For example:
smartphone,touchphone,tablet
Default value
The classes names are integers from 0 to classes_count – 1
Supported processing units
CPU and GPU