3 writes to _columns
Microsoft.ML.Data (3)
Transforms\Hashing.cs (3)
181
_columns
= columns;
195
_columns
= columns;
292
_columns
= new HashingEstimator.ColumnOptions[columnsLength];
32 references to _columns
Microsoft.ML.Data (32)
Transforms\Hashing.cs (32)
143
internal IReadOnlyCollection<HashingEstimator.ColumnOptions> Columns =>
_columns
;
182
foreach (var column in
_columns
)
196
var types = new DataViewType[
_columns
.Length];
200
for (int i = 0; i <
_columns
.Length; i++)
207
types[i] = GetOutputType(input.Schema,
_columns
[i]);
210
if (
_columns
[i].Combine)
214
if (
_columns
[i].MaximumNumberOfInverts == -1)
217
invertHashMaxCount =
_columns
[i].MaximumNumberOfInverts;
239
var ex =
_columns
[iinfo];
248
_keyValues = new VBuffer<ReadOnlyMemory<char>>[
_columns
.Length];
249
_kvTypes = new VectorDataViewType[
_columns
.Length];
264
Host.Assert(0 <= iinfo && iinfo <
_columns
.Length);
266
input.Schema.TryGetColumnIndex(
_columns
[iinfo].InputColumnName, out int srcCol);
270
if (
_columns
[iinfo].Combine)
295
_columns
[i] = new HashingEstimator.ColumnOptions(ColumnPairs[i].outputColumnName, ColumnPairs[i].inputColumnName, ctx);
311
Host.Assert(
_columns
.Length == ColumnPairs.Length);
312
foreach (var col in
_columns
)
315
TextModelHelper.SaveAll(Host, ctx,
_columns
.Length, _keyValues);
354
var mask = (1U <<
_columns
[iinfo].NumberOfBits) - 1;
355
uint seed =
_columns
[iinfo].Seed;
357
if (
_columns
[iinfo].UseOrderedHashing)
455
var ex =
_columns
[iinfo];
468
var mask = (1U <<
_columns
[iinfo].NumberOfBits) - 1;
469
uint seed =
_columns
[iinfo].Seed;
1320
_srcTypes = new DataViewType[_parent.
_columns
.Length];
1321
_dstTypes = new DataViewType[_parent.
_columns
.Length];
1324
_dstTypes[i] = _parent.GetOutputType(inputSchema, _parent.
_columns
[i]);
1368
if (_parent.
_columns
[iinfo].Combine)
1409
var seed = _parent.
_columns
[iinfo].Seed;
1410
if (_parent.
_columns
[iinfo].UseOrderedHashing)
1421
var shiftValue = ctx.AddInitializer((ulong)(32 - _parent.
_columns
[iinfo].NumberOfBits), false);
1459
for (int iinfo = 0; iinfo < _parent.
_columns
.Length; ++iinfo)