1 write to InputRoleMappedSchema
Microsoft.ML.Data (1)
Scorers\SchemaBindablePredictorWrapper.cs (1)
524
InputRoleMappedSchema
= schema;
8 references to InputRoleMappedSchema
Microsoft.ML.Data (8)
Scorers\SchemaBindablePredictorWrapper.cs (8)
511
public DataViewSchema InputSchema =>
InputRoleMappedSchema
.Schema;
542
if (dependingColumns.Count() == 0 || !
InputRoleMappedSchema
.Feature.HasValue)
545
return Enumerable.Repeat(
InputRoleMappedSchema
.Feature.Value, 1);
550
yield return (
InputRoleMappedSchema
.Feature.HasValue) ? RoleMappedSchema.ColumnRole.Feature.Bind(
InputRoleMappedSchema
.Feature?.Name) : RoleMappedSchema.ColumnRole.Label.Bind(
InputRoleMappedSchema
.Label?.Name);
562
var featureGetter =
InputRoleMappedSchema
.Feature.HasValue ? input.GetGetter<VBuffer<float>>(
InputRoleMappedSchema
.Feature.Value) : null;