1 write to _host
Microsoft.ML.Data (1)
Transforms\ValueToKeyMappingEstimator.cs (1)
155
_host
= env.Register(nameof(ValueToKeyMappingEstimator));
7 references to _host
Microsoft.ML.Data (7)
Transforms\ValueToKeyMappingEstimator.cs (7)
156
_host
.CheckNonEmpty(columns, nameof(columns));
157
_host
.CheckValueOrNull(keyData);
160
throw
_host
.ExceptParam(nameof(keyData), "If specified, this data view should contain only a single column " +
172
public ValueToKeyMappingTransformer Fit(IDataView input) => new ValueToKeyMappingTransformer(
_host
, input, _columns, _keyData, false);
180
_host
.CheckValue(inputSchema, nameof(inputSchema));
185
throw
_host
.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
188
throw
_host
.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);