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][]; 480for (int i = 0; i < _parent.ColumnPairs.Length; i++) 482if (!InputSchema.TryGetColumnIndex(_parent.ColumnPairs[i].inputColumnName, out _cols[i])) 483throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _parent.ColumnPairs[i].inputColumnName); 489throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _parent.ColumnPairs[i].inputColumnName); 492_slotDropper[i] = new SlotDropper(valueCount, _parent.SlotsMin[i], _parent.SlotsMax[i]); 519var slotsMin = _parent.SlotsMin[iinfo]; 520var slotsMax = _parent.SlotsMax[iinfo]; 526Host.Assert(0 <= iinfo && iinfo < _parent.ColumnPairs.Length); 552Host.Assert(0 <= iinfo && iinfo < _parent.ColumnPairs.Length); 563GetCategoricalSlotRangesCore(iinfo, _parent.SlotsMin[iinfo], 564_parent.SlotsMax[iinfo], _categoricalRanges[iinfo], ref dst); 570Host.Assert(0 <= iinfo && iinfo < _parent.ColumnPairs.Length); 722Host.Assert(0 <= iinfo && iinfo < _parent.ColumnPairs.Length); 741Host.Assert(0 <= iinfo && iinfo < _parent.ColumnPairs.Length); 762Host.Assert(0 <= iinfo && iinfo < _parent.ColumnPairs.Length); 783Host.Assert(0 <= iinfo && iinfo < _parent.ColumnPairs.Length); 810Host.Assert(0 <= iinfo && iinfo < _parent.ColumnPairs.Length); 826var result = new DataViewSchema.DetachedColumn[_parent.ColumnPairs.Length]; 827for (int i = 0; i < _parent.ColumnPairs.Length; i++) 832InputSchema.TryGetColumnIndex(_parent.ColumnPairs[iinfo].inputColumnName, out int colIndex); 872result[iinfo] = new DataViewSchema.DetachedColumn(_parent.ColumnPairs[iinfo].outputColumnName, _dstTypes[iinfo], builder.ToAnnotations()); 885string inputColumnName = _parent.ColumnPairs[iinfo].inputColumnName; 890string dstVariableName = ctx.AddIntermediateVariable(_dstTypes[iinfo], _parent.ColumnPairs[iinfo].outputColumnName);