1 write to _host
Microsoft.ML.Transforms (1)
OneHotHashEncoding.cs (1)
327_host = env.Register(nameof(ValueToKeyMappingEstimator));
5 references to _host
Microsoft.ML.Transforms (5)
OneHotHashEncoding.cs (5)
328_hash = new HashingEstimator(_host, columns.Select(x => x.HashingOptions).ToArray()); 329using (var ch = _host.Start(nameof(OneHotHashEncodingEstimator))) 340throw _host.ExceptUserArg(nameof(column.OutputKind)); 359toBinVector = new KeyToBinaryVectorMappingEstimator(_host, binaryCols.Select(x => (x.outputColumnName, x.inputColumnName)).ToArray()); 361toVector = new KeyToVectorMappingEstimator(_host, cols.Select(x => new KeyToVectorMappingEstimator.ColumnOptions(x.outputColumnName, x.inputColumnName, x.bag)).ToArray());