1 write to Mappers
Microsoft.ML.Ensemble (1)
PipelineEnsemble.cs (1)
61Mappers = new ISchemaBoundRowMapper[Parent.PredictorModels.Length];
19 references to Mappers
Microsoft.ML.Ensemble (19)
PipelineEnsemble.cs (19)
64for (int i = 0; i < Mappers.Length; i++) 72Mappers[i] = bindable.Bind(Parent.Host, rmd.Schema) as ISchemaBoundRowMapper; 73if (Mappers[i] == null) 77var scoreCol = Mappers[i].OutputSchema.GetColumnOrNull(AnnotationUtils.Const.ScoreValueKind.Score); 134var getters = new ValueGetter<T>[Mappers.Length]; 135for (int i = 0; i < Mappers.Length; i++) 139var mapperColumns = Mappers[i].OutputSchema.Where(col => col.Name == DefaultColumnNames.Score); 140var inputColumns = Mappers[i].GetDependenciesForNewColumns(mapperColumns); 145var predictorRow = Mappers[i].GetRow(pipelineRow, Enumerable.Repeat(Mappers[i].InputSchema[ScoreCols[i]], 1)); 151var buffer = new T[Mappers.Length]; 155for (int i = 0; i < Mappers.Length; i++) 164Parent.Host.Assert(0 <= i && i < Mappers.Length); 165Parent.Host.Check(Mappers[i].InputRoleMappedSchema.Label.HasValue, "Mapper was not trained using a label column"); 166var labelCol = Mappers[i].InputRoleMappedSchema.Label.Value; 176Parent.Host.Assert(0 <= i && i < Mappers.Length); 178if (!Mappers[i].InputRoleMappedSchema.Weight.HasValue) 184var weightCol = Mappers[i].InputRoleMappedSchema.Weight.Value; 186var inputColumns = Mappers[i].GetDependenciesForNewColumns(Enumerable.Repeat(weightCol, 1));