public enum CategoricalEncoding extends java.lang.Enum<CategoricalEncoding>
| Enum Constant and Description |
|---|
AUTO |
OneHotExplicit |
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.Map<java.lang.Integer,CategoricalEncoder> |
createCategoricalEncoders(GenModel m,
java.util.Map<java.lang.String,java.lang.Integer> columnMapping) |
abstract java.util.Map<java.lang.String,java.lang.Integer> |
createColumnMapping(GenModel m) |
static CategoricalEncoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CategoricalEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CategoricalEncoding AUTO
public static final CategoricalEncoding OneHotExplicit
public static CategoricalEncoding[] values()
for (CategoricalEncoding c : CategoricalEncoding.values()) System.out.println(c);
public static CategoricalEncoding valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract java.util.Map<java.lang.String,java.lang.Integer> createColumnMapping(GenModel m)
public abstract java.util.Map<java.lang.Integer,CategoricalEncoder> createCategoricalEncoders(GenModel m, java.util.Map<java.lang.String,java.lang.Integer> columnMapping)