2 instantiations of LabelNameBindableMapper
Microsoft.ML.Data (2)
Scorers\MulticlassClassificationScorer.cs (2)
173
return h.Apply("Loading Model", ch => new
LabelNameBindableMapper
(h, ctx));
208
return new
LabelNameBindableMapper
(_host, inner, _type, _getter, _metadataKind, _canWrap);
17 references to LabelNameBindableMapper
Microsoft.ML.Data (17)
Scorers\BinaryClassifierScorer.cs (5)
76
/// This is a utility method used to determine whether <see cref="MulticlassClassificationScorer.
LabelNameBindableMapper
"/>
85
/// <returns>Whether we can call <see cref="MulticlassClassificationScorer.
LabelNameBindableMapper
.CreateBound{T}"/> with
122
return MulticlassClassificationScorer.
LabelNameBindableMapper
.CreateBound<T>(env, (ISchemaBoundRowMapper)mapper, type, getter, AnnotationUtils.Kinds.TrainingLabelValues, CanWrap);
303
var
labelNameBindableMapper = mapper.Bindable as MulticlassClassificationScorer.
LabelNameBindableMapper
;
Scorers\MulticlassClassificationScorer.cs (12)
27
[assembly: LoadableClass(typeof(ISchemaBindableMapper), typeof(MulticlassClassificationScorer.
LabelNameBindableMapper
), null, typeof(SignatureLoadModel),
28
"Multi-Class Label-Name Mapper", MulticlassClassificationScorer.
LabelNameBindableMapper
.LoaderSignature)]
70
private static readonly FuncInstanceMethodInfo1<
LabelNameBindableMapper
, object, Delegate> _decodeInitMethodInfo
71
= FuncInstanceMethodInfo1<
LabelNameBindableMapper
, object, Delegate>.Create(target => target.DecodeInit<int>);
102
loaderAssemblyName: typeof(
LabelNameBindableMapper
).Assembly.FullName);
261
private
LabelNameBindableMapper
_bindable;
426
/// This is a utility method used to determine whether <see cref="
LabelNameBindableMapper
"/>
435
/// <returns>Whether we can call <see cref="
LabelNameBindableMapper
.CreateBound{T}"/> with
466
/// This is a utility method used to determine whether <see cref="
LabelNameBindableMapper
"/>
475
/// <returns>Whether we can call <see cref="
LabelNameBindableMapper
.CreateBound{T}"/> with
505
resultMapper =
LabelNameBindableMapper
.CreateBound<T>(env, (ISchemaBoundRowMapper)resultMapper, type as VectorDataViewType, getter, AnnotationUtils.Kinds.TrainingLabelValues, CanWrapTrainingLabels);
507
resultMapper =
LabelNameBindableMapper
.CreateBound<T>(env, (ISchemaBoundRowMapper)resultMapper, type as VectorDataViewType, getter, AnnotationUtils.Kinds.SlotNames, CanWrapSlotNames);