From c9f4c8805d4df80f59f7faffc9ab6e4ab7c7bbd3 Mon Sep 17 00:00:00 2001 From: XiaoYun Zhang Date: Mon, 27 Mar 2023 19:15:00 -0700 Subject: [PATCH] fix tostring bug for sweeepable pipeline --- src/Microsoft.ML.AutoML/SweepableEstimator/SweepablePipeline.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.ML.AutoML/SweepableEstimator/SweepablePipeline.cs b/src/Microsoft.ML.AutoML/SweepableEstimator/SweepablePipeline.cs index 6f754d12b5..05dc88cd64 100644 --- a/src/Microsoft.ML.AutoML/SweepableEstimator/SweepablePipeline.cs +++ b/src/Microsoft.ML.AutoML/SweepableEstimator/SweepablePipeline.cs @@ -153,7 +153,7 @@ public string ToString(Parameter parameter) if (parameter.TryGetValue(AutoMLExperiment.PipelineSearchspaceName, out var pipelineParameter)) { var schema = pipelineParameter["_SCHEMA_"].AsType(); - var estimatorStrings = Entity.FromExpression(_currentSchema) + var estimatorStrings = Entity.FromExpression(schema) .ValueEntities() .Where(e => e is StringEntity se && se.Value != "Nil") .Select((se) =>