1 write to _host
Microsoft.ML.Data (1)
Transforms\ColumnConcatenatingEstimator.cs (1)
54
_host
= env.Register(nameof(ColumnConcatenatingEstimator));
12 references to _host
Microsoft.ML.Data (12)
Transforms\ColumnConcatenatingEstimator.cs (12)
56
_host
.CheckNonEmpty(outputColumnName, nameof(outputColumnName));
57
_host
.CheckValue(inputColumnNames, nameof(inputColumnNames));
58
_host
.CheckParam(inputColumnNames.Length > 0, nameof(inputColumnNames), "Input columns not specified");
59
_host
.CheckParam(!inputColumnNames.Any(r => string.IsNullOrEmpty(r)), nameof(inputColumnNames),
71
_host
.CheckValue(input, nameof(input));
72
return new ColumnConcatenatingTransformer(
_host
, _name, _source);
77
_host
.Assert(col.IsValid);
89
_host
.AssertNonEmpty(sources);
107
throw
_host
.ExceptSchemaMismatch(nameof(inputSchema), "input", sources[i]);
114
throw
_host
.Except($"Column '{sources[i]}' is key. " +
119
throw
_host
.Except($"Concatenated columns should have the same type. Column '{sources[i]}' has type of {col.ItemType}, " +
147
_host
.CheckValue(inputSchema, nameof(inputSchema));