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; }
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) { }
private IidSpikeDetector(IHostEnvironment env, IidSpikeDetector transform, IDataView newSource) : base(new BaseArguments(transform), LoaderSignature, env, newSource) { }