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