Package weka.classifiers.trees
Enum XGBoost.Verbosity
- java.lang.Object
-
- java.lang.Enum<XGBoost.Verbosity>
-
- weka.classifiers.trees.XGBoost.Verbosity
-
- All Implemented Interfaces:
Serializable
,Comparable<XGBoost.Verbosity>
,XGBoost.ParamValueProvider
- Enclosing class:
- XGBoost
public static enum XGBoost.Verbosity extends Enum<XGBoost.Verbosity> implements XGBoost.ParamValueProvider
The possible verbosity levels.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
paramValue()
Provides a proxy object suitable for the XGBoost parameter system in place of this object.static XGBoost.Verbosity
valueOf(String name)
Returns the enum constant of this type with the specified name.static XGBoost.Verbosity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SILENT
public static final XGBoost.Verbosity SILENT
-
WARNING
public static final XGBoost.Verbosity WARNING
-
INFO
public static final XGBoost.Verbosity INFO
-
DEBUG
public static final XGBoost.Verbosity DEBUG
-
-
Method Detail
-
values
public static XGBoost.Verbosity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (XGBoost.Verbosity c : XGBoost.Verbosity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XGBoost.Verbosity valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
paramValue
public Integer paramValue()
Description copied from interface:XGBoost.ParamValueProvider
Provides a proxy object suitable for the XGBoost parameter system in place of this object.- Specified by:
paramValue
in interfaceXGBoost.ParamValueProvider
- Returns:
- The object to give to XGBoost as a parameter.
-
-