We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5aa7da commit ea374c1Copy full SHA for ea374c1
src/Microsoft.ML.Data/Transforms/ColumnConcatenatingEstimator.cs
@@ -116,8 +116,8 @@ private SchemaShape.Column CheckInputsAndMakeColumn(
116
}
117
if (!col.ItemType.Equals(itemType))
118
{
119
- throw _host.Except($"Column '{sources[i]}' has values of {col.ItemType}, " +
120
- $"which is not the same as earlier observed type of {itemType}.");
+ throw _host.Except($"Concatenated columns should have the same type. Column '{sources[i]}' has type of {col.ItemType}, " +
+ $"but expected column type is {itemType}.");
121
122
varVector |= col.Kind == SchemaShape.Column.VectorKind.VariableVector;
123
isNormalized &= col.IsNormalized();
0 commit comments