Skip to content

Commit ceb9a2b

Browse files
fix tostring bug for sweeepable pipeline (#6610)
1 parent cb7b724 commit ceb9a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.ML.AutoML/SweepableEstimator/SweepablePipeline.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public string ToString(Parameter parameter)
153153
if (parameter.TryGetValue(AutoMLExperiment.PipelineSearchspaceName, out var pipelineParameter))
154154
{
155155
var schema = pipelineParameter["_SCHEMA_"].AsType<string>();
156-
var estimatorStrings = Entity.FromExpression(_currentSchema)
156+
var estimatorStrings = Entity.FromExpression(schema)
157157
.ValueEntities()
158158
.Where(e => e is StringEntity se && se.Value != "Nil")
159159
.Select((se) =>

0 commit comments

Comments
 (0)