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());
329
using (var ch =
_host
.Start(nameof(OneHotHashEncodingEstimator)))
340
throw
_host
.ExceptUserArg(nameof(column.OutputKind));
359
toBinVector = new KeyToBinaryVectorMappingEstimator(
_host
, binaryCols.Select(x => (x.outputColumnName, x.inputColumnName)).ToArray());
361
toVector = new KeyToVectorMappingEstimator(
_host
, cols.Select(x => new KeyToVectorMappingEstimator.ColumnOptions(x.outputColumnName, x.inputColumnName, x.bag)).ToArray());