T
- The class type of this instance.public interface RandomSplitterParams<T> extends HasSeed<T>
RandomSplitter
.Modifier and Type | Field and Description |
---|---|
static Param<Double[]> |
WEIGHTS
Weights should be a non-empty array with all elements greater than zero.
|
Modifier and Type | Method and Description |
---|---|
default Double[] |
getWeights() |
default T |
setWeights(Double... value) |
static ParamValidator<Double[]> |
weightsValidator() |
get, getParam, getParamMap, set
default Double[] getWeights()
static ParamValidator<Double[]> weightsValidator()
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.