16 references to RoleMappedSchema
Microsoft.ML.Core (4)
Data\RoleMappedSchema.cs (4)
334: this(Contracts.CheckRef(schema, nameof(schema)), Contracts.CheckRef(roles, nameof(roles)), opt) 392: this(Contracts.CheckRef(schema, nameof(schema)), PredefinedRolesHelper(label, feature, group, weight, name, custom), opt) 442: this(Contracts.CheckRef(data, nameof(data)), new RoleMappedSchema(data.Schema, Contracts.CheckRef(roles, nameof(roles)), opt)) 457: this(Contracts.CheckRef(data, nameof(data)), new RoleMappedSchema(data.Schema, Contracts.CheckRef(roles, nameof(roles)), opt))
Microsoft.ML.Data (7)
Commands\DataCommand.cs (1)
308trainSchema = new RoleMappedSchema(trainPipe.Schema, trainRoleMappings);
Commands\SavePredictorCommand.cs (1)
223schema = new RoleMappedSchema(emptyView.Schema, roles, opt: true);
EntryPoints\PredictorModelImpl.cs (1)
142var trainRms = new RoleMappedSchema(predInput.Schema, _roleMappings, opt: true);
Scorers\GenericScorer.cs (1)
74var mapper = bindable.Bind(env, new RoleMappedSchema(input, roles));
Scorers\PredictedLabelScorerBase.cs (2)
112var schema = new RoleMappedSchema(input, RowMapper.GetInputColumnRoles()); 143var mapper = bindable.Bind(env, new RoleMappedSchema(input, roles));
Utilities\ModelFileUtils.cs (1)
351return new RoleMappedSchema(pipe.Schema, roleMappings);
Microsoft.ML.EntryPoints (1)
FeatureCombiner.cs (1)
55var rms = new RoleMappedSchema(viewTrain.Schema, input.GetRoles());
Microsoft.ML.FastTree (1)
TreeEnsembleFeaturizationTransformer.cs (1)
66return new RoleMappedSchema(schema, roles);
Microsoft.ML.Recommender (1)
MatrixFactorizationPredictor.cs (1)
474var schema = new RoleMappedSchema(TrainSchema, roles);
Microsoft.ML.StandardTrainers (2)
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (1)
427var schema = new RoleMappedSchema(TrainSchema, roles);
FactorizationMachine\FieldAwareFactorizationMachineUtils.cs (1)
88InputRoleMappedSchema = new RoleMappedSchema(schema.Schema, inputFeatureColumns);