Пример #1
0
 public BaseArguments(IidChangePointDetector transform)
 {
     Source                 = transform.InputColumnName;
     Name                   = transform.OutputColumnName;
     Side                   = AnomalySide.TwoSided;
     WindowSize             = transform.WindowSize;
     Martingale             = transform.Martingale;
     PowerMartingaleEpsilon = transform.PowerMartingaleEpsilon;
     AlertOn                = AlertingScore.MartingaleScore;
     AlertThreshold         = transform.AlertThreshold;
 }
Пример #2
0
        public static CommonOutputs.TransformOutput IidChangePointDetector(IHostEnvironment env, IidChangePointDetector.Arguments input)
        {
            var h    = EntryPointUtils.CheckArgsAndCreateHost(env, "IidChangePointDetector", input);
            var view = new IidChangePointDetector(h, input, input.Data);

            return(new CommonOutputs.TransformOutput()
            {
                Model = new TransformModel(h, view, input.Data),
                OutputData = view
            });
        }
Пример #3
0
 private IidChangePointDetector(IHostEnvironment env, IidChangePointDetector transform)
     : base(new BaseArguments(transform), LoaderSignature, env)
 {
 }
 private IidChangePointDetector(IHostEnvironment env, IidChangePointDetector transform, IDataView newSource)
     : base(new BaseArguments(transform), LoaderSignature, env, newSource)
 {
 }