6 writes to Source
Microsoft.ML.Data (6)
Transforms\ColumnBindingsBase.cs (4)
140
Source
= new string[] { str };
150
Source
= src.Split(',');
171
Source
= new string[] { str };
193
Source
= src.Split(',');
Transforms\ColumnConcatenatingTransformer.cs (2)
100
column.
Source
= Source.Select(kvp => kvp.Value).ToArray();
116
Source
= source
14 references to Source
Microsoft.ML.Data (14)
Transforms\ColumnBindingsBase.cs (10)
151
return
Source
.All(s => !string.IsNullOrEmpty(s));
194
return
Source
.All(s => !string.IsNullOrEmpty(s));
201
if (string.IsNullOrWhiteSpace(Name) || Utils.Size(
Source
) == 0)
205
if (
Source
.Any(x => CmdQuoter.NeedsQuoting(x) || x.Contains(",")))
207
if (
Source
.Length == 1 &&
Source
[0] == Name)
214
foreach (var src in
Source
)
226
if (string.IsNullOrWhiteSpace(Name) || Utils.Size(
Source
) == 0)
230
if (
Source
.Any(x => CmdQuoter.NeedsQuoting(x) || x.Contains(",")))
234
foreach (var src in
Source
)
Transforms\ColumnConcatenatingTransformer.cs (4)
86
Contracts.AssertValue(res.
Source
);
89
taggedColumn.Source = res.
Source
.Select(s => new KeyValuePair<string, string>(null, s)).ToArray();
377
env.CheckUserArg(Utils.Size(options.Columns[i].
Source
) > 0, nameof(options.Columns));
380
.Select(c => new ColumnOptions(c.Name, c.
Source
))