类 StandardCollector


  • public class StandardCollector
    extends PredictCollector
    默认预测收集器,跟踪最小距离并进行阈值检查(这是大多数预测逻辑的默认行为)
    • 构造函数详细信息

      • StandardCollector

        protected StandardCollector​(long addr)
    • 方法详细信息

      • getMinLabel

        public int getMinLabel()
        返回具有最小距离的标签
        返回
        自动生成
      • getMinDist

        public double getMinDist()
        返回最小距离值
        返回
        自动生成
      • create

        public static StandardCollector create​(double threshold)
        静态构造函数
        参数
        threshold - 设置阈值
        返回
        自动生成
      • create

        public static StandardCollector create()
        静态构造函数
        返回
        自动生成
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        重写
        finalize 在类中 PredictCollector
        抛出
        java.lang.Throwable