public override void SetUncertaintyThreshold(params double[] thresh) { // set only the first threshold of each map if (thresh.Length != onlineBayes.Length) { throw new ArgumentException("threshold length does not match number of internal mappers"); } for (int i = 0; i < onlineBayes.Length; i++) { OnlineVectorMapper map = onlineBayes[i]; double[] t = map.GetUncertaintyThreshold(); t[0] = thresh[i]; map.SetUncertaintyThreshold(t); } }
protected OnlineDistMapper(OnlineVectorMapper suffMapper, DistBuilder <T> distBuilder) : base(suffMapper, distBuilder) { }