T
- hyperparameter value type (e.g. Integer
)public interface HyperParamValues<T>
Modifier and Type | Method and Description |
---|---|
long |
getNumDistinctValues() |
T |
getRandomValue(org.apache.commons.math3.random.RandomDataGenerator rdg) |
List<T> |
getTrialValues(int num) |
List<T> getTrialValues(int num)
num
- number of trial values of the hyperparameter to returnList
of possible values to try, maybe fewer than num
T getRandomValue(org.apache.commons.math3.random.RandomDataGenerator rdg)
rdg
- random number generator to uselong getNumDistinctValues()
Long.MAX_VALUE
if effectively infiniteCopyright © 2014–2018. All rights reserved.