2 writes to _ectx
Microsoft.ML.Transforms (2)
GroupTransform.cs (2)
220_ectx = ectx; 239_ectx = env.Register(LoaderSignature);
20 references to _ectx
Microsoft.ML.Transforms (20)
GroupTransform.cs (20)
221_ectx.AssertValue(inputSchema); 222_ectx.AssertNonEmpty(groupColumns); 223_ectx.AssertValue(keepColumns); 227GroupColumnIndexes = GetColumnIds(inputSchema, groupColumns, x => _ectx.ExceptUserArg(nameof(Options.GroupKeys), x)); 230KeepColumnIndexes = GetColumnIds(inputSchema, keepColumns, x => _ectx.ExceptUserArg(nameof(Options.Columns), x)); 240_ectx.AssertValue(inputSchema); 241_ectx.AssertValue(ctx); 252_ectx.CheckDecode(g > 0); 259_ectx.CheckDecode(k >= 0); 265GroupColumnIndexes = GetColumnIds(inputSchema, _groupColumns, _ectx.Except); 266KeepColumnIndexes = GetColumnIds(inputSchema, _keepColumns, _ectx.Except); 297_ectx.CheckValue(aggregatedValueType, nameof(aggregatedValueType), "Columns being aggregated must be primitive types such as string, float, or integer"); 309_ectx.AssertValue(ctx); 317_ectx.AssertNonEmpty(_groupColumns); 321_ectx.AssertNonEmpty(name); 325_ectx.AssertValue(_keepColumns); 329_ectx.AssertNonEmpty(name); 355_ectx.Check(retrievedColumn.HasValue, errorMessage); 359_ectx.Check(colType is PrimitiveDataViewType, errorMessage); 374_ectx.Check(0 <= col && col < GroupColumnIndexes.Length + KeepColumnIndexes.Length);