接口 RandomSplitterParams<T>

  • 类型参数:
    T - The class type of this instance.
    所有超级接口:
    org.apache.flink.ml.common.param.HasSeed<T>, org.apache.flink.ml.param.WithParams<T>
    所有已知实现类:
    RandomSplitter

    public interface RandomSplitterParams<T>
    extends org.apache.flink.ml.common.param.HasSeed<T>
    Params of RandomSplitter.
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      static org.apache.flink.ml.param.Param<Double[]> WEIGHTS
      Weights should be a non-empty array with all elements greater than zero.
      • 从接口继承的字段 org.apache.flink.ml.common.param.HasSeed

        SEED
    • 字段详细资料

      • WEIGHTS

        static final org.apache.flink.ml.param.Param<Double[]> WEIGHTS
        Weights should be a non-empty array with all elements greater than zero. The weights will be normalized such that the sum of all elements equals to one.
    • 方法详细资料

      • setWeights

        default T setWeights​(Double... value)
      • getWeights

        default Double[] getWeights()
      • weightsValidator

        static org.apache.flink.ml.param.ParamValidator<Double[]> weightsValidator()