internal IidChangePointEstimator(IHostEnvironment env, IidChangePointDetector.Options options)
     : base(Contracts.CheckRef(env, nameof(env)).Register(nameof(IidChangePointEstimator)),
            new IidChangePointDetector(env, options))
 {
 }
        internal static CommonOutputs.TransformOutput IidChangePointDetector(IHostEnvironment env, IidChangePointDetector.Options options)
        {
            var h    = EntryPointUtils.CheckArgsAndCreateHost(env, "IidChangePointDetector", options);
            var view = new IidChangePointEstimator(h, options).Fit(options.Data).Transform(options.Data);

            return(new CommonOutputs.TransformOutput()
            {
                Model = new TransformModelImpl(h, view, options.Data),
                OutputData = view
            });
        }