Beispiel #1
0
        public static MultiModelPipeline Append(this SweepableEstimatorPipeline pipeline, params SweepableEstimator[] estimators)
        {
            var multiModelPipeline = new MultiModelPipeline();

            foreach (var estimator in pipeline.Estimators)
            {
                multiModelPipeline = multiModelPipeline.Append(estimator);
            }

            return(multiModelPipeline.Append(estimators));
        }
        public AutoMLExperiment SetPipeline(SweepableEstimatorPipeline pipeline)
        {
            var res = new MultiModelPipeline();

            foreach (var e in pipeline.Estimators)
            {
                res = res.Append(e);
            }

            SetPipeline(res);

            return(this);
        }
 public static SweepableEstimatorPipeline Append(this SweepableEstimatorPipeline pipeline, IEstimator <ITransformer> estimator1)
 {
     return(pipeline.Append(new SweepableEstimator((context, parameter) => estimator1, new SearchSpace.SearchSpace())));
 }