Package gov.nih.mipav.model.algorithms
Enum SVM.VlSvmLossType
- java.lang.Object
-
- java.lang.Enum<SVM.VlSvmLossType>
-
- gov.nih.mipav.model.algorithms.SVM.VlSvmLossType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SVM.VlSvmLossType>
- Enclosing class:
- SVM
static enum SVM.VlSvmLossType extends java.lang.Enum<SVM.VlSvmLossType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VlSvmLossHinge
VlSvmLossHinge2
VlSvmLossL1
VlSvmLossL2
VlSvmLossLogistic
-
Constructor Summary
Constructors Modifier Constructor Description private
VlSvmLossType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SVM.VlSvmLossType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SVM.VlSvmLossType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VlSvmLossHinge
public static final SVM.VlSvmLossType VlSvmLossHinge
-
VlSvmLossHinge2
public static final SVM.VlSvmLossType VlSvmLossHinge2
-
VlSvmLossL1
public static final SVM.VlSvmLossType VlSvmLossL1
-
VlSvmLossL2
public static final SVM.VlSvmLossType VlSvmLossL2
-
VlSvmLossLogistic
public static final SVM.VlSvmLossType VlSvmLossLogistic
-
Method Detail
-
values
public static SVM.VlSvmLossType[] 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 (SVM.VlSvmLossType c : SVM.VlSvmLossType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SVM.VlSvmLossType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-
-
-
-
-
-