コード例 #1
0
 private protected BaseDiverseSelector(IHostEnvironment env, DiverseSelectorArguments args, string name,
                                       IComponentFactory <IDiversityMeasure <TOutput> > diversityMetricType)
     : base(args, env, name)
 {
     _diversityMetricType = diversityMetricType;
     _predictions         = new ConcurrentDictionary <FeatureSubsetModel <IPredictorProducing <TOutput> >, TOutput[]>();
 }
コード例 #2
0
 protected internal BaseDiverseSelector(IHostEnvironment env, DiverseSelectorArguments args, string name)
     : base(args, env, name)
 {
     _diversityMetricType = args.DiversityMetricType;
     _predictions         = new ConcurrentDictionary <FeatureSubsetModel <IPredictorProducing <TOutput> >, TOutput[]>();
 }