public CalibratedRowMapper(RoleMappedSchema schema, SchemaBindableBinaryPredictorWrapper parent)
            {
                Contracts.AssertValue(parent);
                Contracts.Assert(parent._distMapper != null);
                Contracts.AssertValue(schema);

                _parent = parent;
                InputRoleMappedSchema = schema;
                OutputSchema          = ScoreSchemaFactory.CreateBinaryClassificationSchema();

                if (schema.Feature?.Type is ColumnType typeSrc)
                {
                    Contracts.Check(typeSrc.IsKnownSizeVector && typeSrc.ItemType == NumberType.Float,
                                    "Invalid feature column type");
                }
            }
 private protected override ISchemaBoundMapper BindCore(IChannel ch, RoleMappedSchema schema) =>
 new SingleValueRowMapper(schema, this, ScoreSchemaFactory.CreateQuantileRegressionSchema(ScoreType, _quantiles));
 private protected override ISchemaBoundMapper BindCore(IChannel ch, RoleMappedSchema schema) =>
 new SingleValueRowMapper(schema, this, ScoreSchemaFactory.Create(ScoreType, _scoreColumnKind));