public TVectorPredictor CombineModels(IEnumerable <TVectorPredictor> models)
        {
            var predictor = new EnsembleMultiClassPredictor(Host,
                                                            models.Select(k => new FeatureSubsetModel <TVectorPredictor>(k)).ToArray(),
                                                            _outputCombiner.CreateComponent(Host));

            return(predictor);
        }
        public IPredictor CombineModels(IEnumerable <IPredictor> models)
        {
            Host.CheckValue(models, nameof(models));
            Host.CheckParam(models.All(m => m is TVectorPredictor), nameof(models));

            var combiner  = _outputCombiner.CreateComponent(Host);
            var predictor = new EnsembleMultiClassPredictor(Host,
                                                            models.Select(k => new FeatureSubsetModel <TVectorPredictor>((TVectorPredictor)k)).ToArray(),
                                                            combiner);

            return(predictor);
        }