1 write to _parent
Microsoft.ML.Data (1)
Transforms\SlotsDroppingTransformer.cs (1)
472
_parent
= parent;
30 references to _parent
Microsoft.ML.Data (30)
Transforms\SlotsDroppingTransformer.cs (30)
473
_cols = new int[
_parent
.ColumnPairs.Length];
474
_srcTypes = new DataViewType[
_parent
.ColumnPairs.Length];
475
_dstTypes = new DataViewType[
_parent
.ColumnPairs.Length];
476
_slotDropper = new SlotDropper[
_parent
.ColumnPairs.Length];
477
_suppressed = new bool[
_parent
.ColumnPairs.Length];
478
_categoricalRanges = new int[
_parent
.ColumnPairs.Length][];
480
for (int i = 0; i <
_parent
.ColumnPairs.Length; i++)
482
if (!InputSchema.TryGetColumnIndex(
_parent
.ColumnPairs[i].inputColumnName, out _cols[i]))
483
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input",
_parent
.ColumnPairs[i].inputColumnName);
489
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input",
_parent
.ColumnPairs[i].inputColumnName);
492
_slotDropper[i] = new SlotDropper(valueCount,
_parent
.SlotsMin[i],
_parent
.SlotsMax[i]);
519
var slotsMin =
_parent
.SlotsMin[iinfo];
520
var slotsMax =
_parent
.SlotsMax[iinfo];
526
Host.Assert(0 <= iinfo && iinfo <
_parent
.ColumnPairs.Length);
552
Host.Assert(0 <= iinfo && iinfo <
_parent
.ColumnPairs.Length);
563
GetCategoricalSlotRangesCore(iinfo,
_parent
.SlotsMin[iinfo],
564
_parent
.SlotsMax[iinfo], _categoricalRanges[iinfo], ref dst);
570
Host.Assert(0 <= iinfo && iinfo <
_parent
.ColumnPairs.Length);
722
Host.Assert(0 <= iinfo && iinfo <
_parent
.ColumnPairs.Length);
741
Host.Assert(0 <= iinfo && iinfo <
_parent
.ColumnPairs.Length);
762
Host.Assert(0 <= iinfo && iinfo <
_parent
.ColumnPairs.Length);
783
Host.Assert(0 <= iinfo && iinfo <
_parent
.ColumnPairs.Length);
810
Host.Assert(0 <= iinfo && iinfo <
_parent
.ColumnPairs.Length);
826
var result = new DataViewSchema.DetachedColumn[
_parent
.ColumnPairs.Length];
827
for (int i = 0; i <
_parent
.ColumnPairs.Length; i++)
832
InputSchema.TryGetColumnIndex(
_parent
.ColumnPairs[iinfo].inputColumnName, out int colIndex);
872
result[iinfo] = new DataViewSchema.DetachedColumn(
_parent
.ColumnPairs[iinfo].outputColumnName, _dstTypes[iinfo], builder.ToAnnotations());
885
string inputColumnName =
_parent
.ColumnPairs[iinfo].inputColumnName;
890
string dstVariableName = ctx.AddIntermediateVariable(_dstTypes[iinfo],
_parent
.ColumnPairs[iinfo].outputColumnName);