1 write to TypeSrc
Microsoft.ML.Data (1)
Transforms\TransformBase.cs (1)
290
TypeSrc
= typeSrc;
19 references to TypeSrc
Microsoft.ML.Data (5)
Transforms\LabelIndicatorTransform.cs (5)
187
ch.Assert(TestIsMulticlassLabel(info.
TypeSrc
) == null);
189
if (info.
TypeSrc
.GetKeyCount() > 0)
202
if (info.
TypeSrc
== NumberDataViewType.Single)
214
if (info.
TypeSrc
== NumberDataViewType.Double)
226
throw Host.ExceptNotSupp($"Label column type is not supported for binary remapping: {info.
TypeSrc
}. Supported types: key, float, double.");
Microsoft.ML.Transforms (14)
HashJoiningTransform.cs (11)
256
Host.CheckDecode(Infos[i].
TypeSrc
is VectorDataViewType);
267
slotMap[j].All(slot => 0 <= slot && slot < Infos[i].
TypeSrc
.GetValueCount()));
324
Host.Assert(ex.SlotMap[i].All(slot => 0 <= slot && slot < Infos[iColumn].
TypeSrc
.GetValueCount()));
333
if (colInfo.
TypeSrc
is VectorDataViewType vectorType)
419
bool useDefaultSlotNames = !Source.Schema[Infos[iinfo].Source].HasSlotNames(Infos[iinfo].
TypeSrc
.GetVectorSize());
426
|| srcSlotNames.Length != Infos[iinfo].
TypeSrc
.GetValueCount();
479
if (!(Infos[iinfo].
TypeSrc
is VectorDataViewType vectorType))
481
itemType = Infos[iinfo].
TypeSrc
;
505
Host.Assert(!(Infos[iinfo].
TypeSrc
is VectorDataViewType));
529
VectorDataViewType srcType = Infos[iinfo].
TypeSrc
as VectorDataViewType;
577
VectorDataViewType srcType = Infos[iinfo].
TypeSrc
as VectorDataViewType;
MissingValueIndicatorTransform.cs (3)
136
var type = Infos[iinfo].
TypeSrc
;
185
var type = Infos[iinfo].
TypeSrc
;
245
if (Infos[iinfo].
TypeSrc
is VectorDataViewType)