public BaseArguments(IidSpikeDetector transform)
 {
     Source         = transform.InputColumnName;
     Name           = transform.OutputColumnName;
     Side           = transform.Side;
     WindowSize     = transform.WindowSize;
     AlertThreshold = transform.AlertThreshold;
     AlertOn        = AlertingScore.PValueScore;
     Martingale     = MartingaleType.None;
 }
Ejemplo n.º 2
0
        public static CommonOutputs.TransformOutput IidSpikeDetector(IHostEnvironment env, IidSpikeDetector.Arguments input)
        {
            var h    = EntryPointUtils.CheckArgsAndCreateHost(env, "IidSpikeDetector", input);
            var view = new IidSpikeDetector(h, input, input.Data);

            return(new CommonOutputs.TransformOutput()
            {
                Model = new TransformModel(h, view, input.Data),
                OutputData = view
            });
        }
 private IidSpikeDetector(IHostEnvironment env, IidSpikeDetector transform)
     : base(new BaseArguments(transform), LoaderSignature, env)
 {
 }
Ejemplo n.º 4
0
 private IidSpikeDetector(IHostEnvironment env, IidSpikeDetector transform, IDataView newSource)
     : base(new BaseArguments(transform), LoaderSignature, env, newSource)
 {
 }