1 write to RowMapper
Microsoft.ML.Data (1)
Scorers\RowToRowScorerBase.cs (1)
33RowMapper = mapper;
22 references to RowMapper
Microsoft.ML.Data (22)
Scorers\BinaryClassifierScorer.cs (2)
199string scoreColumn = Bindings.RowMapper.OutputSchema[Bindings.ScoreColumnIndex].Name; 235Host.Assert(output.Schema == Bindings.RowMapper.OutputSchema);
Scorers\ClusteringScorer.cs (1)
96Contracts.Assert(output.Schema == Bindings.RowMapper.OutputSchema);
Scorers\GenericScorer.cs (5)
94var bindable = RowMapper.Bindable; 95var roles = RowMapper.GetInputColumnRoles(); 216var schema = _bindings.RowMapper.InputRoleMappedSchema; 231var schema = _bindings.RowMapper.InputRoleMappedSchema; 270Host.Assert(output.Schema == _bindings.RowMapper.OutputSchema);
Scorers\MulticlassClassificationScorer.cs (2)
565Host.Assert(output.Schema == Bindings.RowMapper.OutputSchema); 568ValueGetter<VBuffer<float>> mapperScoreGetter = output.GetGetter<VBuffer<float>>(Bindings.RowMapper.OutputSchema[Bindings.ScoreColumnIndex]);
Scorers\PredictedLabelScorerBase.cs (7)
105string scoreCol = RowMapper.OutputSchema[ScoreColumnIndex].Name; 106var schema = new RoleMappedSchema(input, RowMapper.GetInputColumnRoles()); 162ctx.SaveNonEmptyString(RowMapper.OutputSchema[ScoreColumnIndex].Name); 336var schema = Bindings.RowMapper.InputRoleMappedSchema; 369var schema = Bindings.RowMapper.InputRoleMappedSchema; 403Host.Assert(output.Schema == Bindings.RowMapper.OutputSchema); 450(Bindings.RowMapper as IDisposable)?.Dispose();
Scorers\RowToRowScorerBase.cs (5)
101activeRowMapperCols = bindings.RowMapper.OutputSchema.Where(c => predicateMapper(c.Index)); 102var colsInputForMapper = bindings.RowMapper.GetDependenciesForNewColumns(activeRowMapperCols); 170var output = bindings.RowMapper.GetRow(input, activeMapperColumns); 250_output = _bindings.RowMapper.GetRow(input, activeMapperColumns); 253Ch.Assert(_output.Schema == _bindings.RowMapper.OutputSchema);