1 write to _predictor
Microsoft.ML.Data (1)
Prediction\Calibrator.cs (1)
664
_predictor
= _parent._bindable.Bind(env, schema) as ISchemaBoundRowMapper;
8 references to _predictor
Microsoft.ML.Data (8)
Prediction\Calibrator.cs (8)
655
public RoleMappedSchema InputRoleMappedSchema =>
_predictor
.InputRoleMappedSchema;
656
public DataViewSchema InputSchema =>
_predictor
.InputSchema;
665
env.Check(
_predictor
!= null, "Predictor is not a row-to-row mapper");
666
if (!
_predictor
.OutputSchema.TryGetColumnIndex(AnnotationUtils.Const.ScoreValueKind.Score, out _scoreCol))
668
var scoreType =
_predictor
.OutputSchema[_scoreCol].Type;
679
return
_predictor
.GetDependenciesForNewColumns(OutputSchema);
686
return
_predictor
.GetInputColumnRoles();
691
var predictorRow =
_predictor
.GetRow(input, activeColumns.Count() > 0 ? OutputSchema : Enumerable.Empty<DataViewSchema.Column>());