public abstract class AlgoDescriptorUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
MANDATORY
An alias to ease the readability of parameters' configuration that are not mandatory.
|
protected static boolean |
NOT_MANDATORY
An alias to ease the readability of parameters' configuration that are not mandatory.
|
| Constructor and Description |
|---|
AlgoDescriptorUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static com.feedzai.openml.provider.descriptor.fieldtype.NumericFieldType |
doubleRange(double minValue,
double maxValue,
double defaultValue)
Helper method to return a range of type DOUBLE.
|
protected static com.feedzai.openml.provider.descriptor.fieldtype.NumericFieldType |
intRange(int minValue,
int maxValue,
int defaultValue)
Helper method to return a range of type INT.
|
protected static final boolean NOT_MANDATORY
protected static final boolean MANDATORY
protected static com.feedzai.openml.provider.descriptor.fieldtype.NumericFieldType doubleRange(double minValue,
double maxValue,
double defaultValue)
minValue - Minimum allowed value.maxValue - Maximum allowed value.defaultValue - Default value.protected static com.feedzai.openml.provider.descriptor.fieldtype.NumericFieldType intRange(int minValue,
int maxValue,
int defaultValue)
minValue - Minimum allowed value.maxValue - Maximum allowed value.defaultValue - Default value.Copyright © 2022 Feedzai. All rights reserved.