示例#1
0
        public static CommonOutputs.TransformOutput IidChangePointDetector(IHostEnvironment env, IidChangePointDetector.Arguments input)
        {
            var h    = EntryPointUtils.CheckArgsAndCreateHost(env, "IidChangePointDetector", input);
            var view = new IidChangePointEstimator(h, input).Fit(input.Data).Transform(input.Data);

            return(new CommonOutputs.TransformOutput()
            {
                Model = new TransformModelImpl(h, view, input.Data),
                OutputData = view
            });
        }
示例#2
0
 public IidChangePointEstimator(IHostEnvironment env, IidChangePointDetector.Arguments args)
     : base(Contracts.CheckRef(env, nameof(env)).Register(nameof(IidChangePointEstimator)),
            new IidChangePointDetector(env, args))
 {
 }