7 writes to Name
Microsoft.ML.Data (7)
DataView\LambdaColumnMapper.cs (1)
95
Name
= dst;
Transforms\ColumnBindingsBase.cs (3)
38
return ColumnParsingUtils.TryParse(str, out
Name
, out Source);
52
return ColumnParsingUtils.TryParse(str, out
Name
, out Source, out extra);
99
Name
= Source;
Transforms\LabelConvertTransform.cs (1)
78
: this(env, new Arguments() { Columns = new[] { new Column() { Source = inputColumnName ?? outputColumnName,
Name
= outputColumnName } } }, input)
Transforms\LabelIndicatorTransform.cs (1)
129
: this(env, new Options() { Columns = new[] { new Column() { Source = source ?? name,
Name
= name } }, ClassIndex = classIndex }, input)
Transforms\TransformBase.cs (1)
553
Name
= x.Name,
50 references to Name
Microsoft.ML.Data (50)
Transforms\ColumnBindingsBase.cs (8)
65
if (CmdQuoter.NeedsQuoting(
Name
) || CmdQuoter.NeedsQuoting(Source))
68
sb.Append(
Name
);
69
if (Source !=
Name
)
85
if (CmdQuoter.NeedsQuoting(
Name
) || CmdQuoter.NeedsQuoting(Source))
88
sb.Append(
Name
).Append(':').Append(extra).Append(':').Append(Source);
98
if (string.IsNullOrWhiteSpace(
Name
))
101
Source =
Name
;
102
return !string.IsNullOrWhiteSpace(
Name
);
Transforms\ColumnCopying.cs (1)
152
var transformer = new ColumnCopyingTransformer(env, options.Columns.Select(x => (x.
Name
, x.Source)).ToArray());
Transforms\Hashing.cs (2)
339
item.
Name
,
340
item.Source ?? item.
Name
,
Transforms\KeyToValue.cs (2)
109
var transformer = new KeyToValueMappingTransformer(env, options.Columns.Select(c => (c.
Name
, c.Source ?? c.
Name
)).ToArray());
Transforms\KeyToVector.cs (2)
206
item.
Name
,
207
item.Source ?? item.
Name
,
Transforms\NormalizeColumn.cs (22)
315
col.
Name
,
316
col.Source ?? col.
Name
,
333
col.
Name
,
334
col.Source ?? col.
Name
,
353
col.
Name
,
354
col.Source ?? col.
Name
,
373
col.
Name
,
374
col.Source ?? col.
Name
,
394
col.
Name
,
395
col.Source ?? col.
Name
,
973
args.Columns[icol].
Name
,
974
args.Columns[icol].Source ?? args.Columns[icol].
Name
,
1010
args.Columns[icol].
Name
,
1011
args.Columns[icol].Source ?? args.Columns[icol].
Name
,
1050
args.Columns[icol].
Name
,
1051
args.Columns[icol].Source ?? args.Columns[icol].
Name
,
1090
args.Columns[icol].
Name
,
1091
args.Columns[icol].Source ?? args.Columns[icol].
Name
,
1140
args.Columns[icol].
Name
,
1141
args.Columns[icol].Source ?? args.Columns[icol].
Name
,
1202
args.Columns[icol].
Name
,
1203
args.Columns[icol].Source ?? args.Columns[icol].
Name
,
Transforms\SlotsDroppingTransformer.cs (2)
225
Name = column.
Name
;
227
InputColumnName = column.Source ?? column.
Name
;
Transforms\TransformBase.cs (2)
342
host.CheckUserArg(item.TrySanitize(), nameof(OneToOneColumn.
Name
), "Invalid new column name");
343
names[i] = item.
Name
;
Transforms\TypeConverting.cs (5)
103
if (CmdQuoter.NeedsQuoting(
Name
) || CmdQuoter.NeedsQuoting(Source))
107
sb.Append(
Name
);
330
var srcType = input.Schema[item.Source ?? item.
Name
].Type;
338
cols[i] = new TypeConvertingEstimator.ColumnOptions(item.
Name
, kind.ToDataKind(), item.Source ?? item.
Name
, keyCount);
Transforms\ValueMapping.cs (1)
688
(string outputColumnName, string inputColumnName)[] columns = options.Columns.Select(x => (x.
Name
, x.Source)).ToArray();
Transforms\ValueToKeyMappingTransformer.cs (3)
291
throw env.ExceptUserArg(nameof(options.Sort), "Undefined sorting criteria '{0}' detected for column '{1}'", sortOrder, item.
Name
);
294
item.
Name
,
295
item.Source ?? item.
Name
,