1 write to _parent
Microsoft.ML.Data (1)
Transforms\ValueToKeyMappingTransformer.cs (1)
719
_parent
= parent;
14 references to _parent
Microsoft.ML.Data (14)
Transforms\ValueToKeyMappingTransformer.cs (14)
720
_infos =
_parent
.CreateInfos(inputSchema);
721
_types = new DataViewType[
_parent
.ColumnPairs.Length];
722
for (int i = 0; i <
_parent
.ColumnPairs.Length; i++)
725
KeyDataViewType keyType =
_parent
._unboundMaps[i].OutputType;
733
_termMap = new BoundTermMap[
_parent
.ColumnPairs.Length];
734
for (int iinfo = 0; iinfo <
_parent
.ColumnPairs.Length; ++iinfo)
736
_termMap[iinfo] = Bind(Host, inputSchema,
_parent
._unboundMaps[iinfo], _infos,
_parent
._textMetadata, iinfo);
742
var result = new DataViewSchema.DetachedColumn[
_parent
.ColumnPairs.Length];
743
for (int i = 0; i <
_parent
.ColumnPairs.Length; i++)
745
InputSchema.TryGetColumnIndex(
_parent
.ColumnPairs[i].inputColumnName, out int colIndex);
751
result[i] = new DataViewSchema.DetachedColumn(
_parent
.ColumnPairs[i].outputColumnName, _types[i], builder.ToAnnotations());
759
Contracts.Assert(0 <= iinfo && iinfo <
_parent
.ColumnPairs.Length);
893
InternalDataKindExtensions.TryGetDataKind(
_parent
._unboundMaps[iinfo].OutputType.RawType, out dataKind);