2 writes to _replaceTypes
Microsoft.ML.Transforms (2)
MissingValueReplacing.cs (2)
220GetReplacementValues(input, columns, out _repValues, out _repIsDefault, out _replaceTypes); 229_replaceTypes = new DataViewType[columnsLength];
14 references to _replaceTypes
Microsoft.ML.Transforms (14)
MissingValueReplacing.cs (14)
235_replaceTypes[i] = savedType; 249Host.Assert(repValue.GetType() == _replaceTypes[i].RawType || repValue.GetType() == _replaceTypes[i].GetItemType().RawType); 302repValues[iinfo] = GetSpecifiedValue(columns[iinfo].ReplacementString, _replaceTypes[iinfo], isNa); 504for (int iinfo = 0; iinfo < _replaceTypes.Length; iinfo++) 507var repType = _replaceTypes[iinfo].GetItemType(); 514repType = _replaceTypes[iinfo]; 519Host.Assert(repValue.GetType() == _replaceTypes[iinfo].RawType || repValue.GetType() == _replaceTypes[iinfo].GetItemType().RawType); 572var repType = _parent._repIsDefault[i] != null ? _parent._replaceTypes[i] : _parent._replaceTypes[i].GetItemType(); 575_infos[i].InputColumnName, _parent._replaceTypes[i].GetItemType().ToString(), _infos[i].TypeSrc); 583throw Host.ExceptParam(nameof(inputSchema), "Column '{0}' is unknown size vector '{1}' must be a scalar instead of type '{2}'", _infos[i].InputColumnName, type, parent._replaceTypes[i]); 863ctx.AddIntermediateVariable(_parent._replaceTypes[iinfo], info.Name)))