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