From d84ccd5179d9560a5211db876b952344eda31e2a Mon Sep 17 00:00:00 2001 From: Dmitry Akhutin Date: Wed, 1 May 2019 15:50:38 -0700 Subject: [PATCH 1/4] set exploration time default in CLI to half hour --- src/mlnet/Commands/CommandDefinitions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mlnet/Commands/CommandDefinitions.cs b/src/mlnet/Commands/CommandDefinitions.cs index 20ac207632..953b10859b 100644 --- a/src/mlnet/Commands/CommandDefinitions.cs +++ b/src/mlnet/Commands/CommandDefinitions.cs @@ -87,7 +87,7 @@ Option LabelColumnIndex() => Option MaxExplorationTime() => new Option(new List() { "--max-exploration-time", "-x" }, "Maximum time in seconds for exploring models with best configuration.", - new Argument(defaultValue: 10)); + new Argument(defaultValue: 60*30)); Option Verbosity() => new Option(new List() { "--verbosity", "-V" }, "Output verbosity choices: q[uiet], m[inimal] (by default) and diag[nostic].", From d76d72f6174232043530dbe25894d530b0bde929 Mon Sep 17 00:00:00 2001 From: Dmitry Akhutin Date: Thu, 2 May 2019 14:41:10 -0700 Subject: [PATCH 2/4] [AutoML] Change wording for CouldNotFinshOnTime message --- src/mlnet/Strings.resx | 2 +- src/mlnet/strings.Designer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mlnet/Strings.resx b/src/mlnet/Strings.resx index f220f9ca2c..a53d68a868 100644 --- a/src/mlnet/Strings.resx +++ b/src/mlnet/Strings.resx @@ -199,6 +199,6 @@ Exception occured while saving the model - {0} seconds was not enough to train at least one model for your dataset. Try with a longer time. Learn about recommended training time at https://aka.ms/cli-trainingtime + {0} seconds was not enough to train at least one model for your dataset. Try increasing exploration time using -x option. Learn about recommended training time at https://aka.ms/cli-trainingtime \ No newline at end of file diff --git a/src/mlnet/strings.Designer.cs b/src/mlnet/strings.Designer.cs index e9791c1318..8d2dfda6df 100644 --- a/src/mlnet/strings.Designer.cs +++ b/src/mlnet/strings.Designer.cs @@ -70,7 +70,7 @@ internal static string BestPipeline { } /// - /// Looks up a localized string similar to {0} seconds was not enough to train at least one model for your dataset. Try with a longer time. Learn about recommended training time at https://aka.ms/cli-trainingtime. + /// Looks up a localized string similar to {0} seconds was not enough to train at least one model for your dataset. Try increasing exploration time using -x option. Learn about recommended training time at https://aka.ms/cli-trainingtime. /// internal static string CouldNotFinshOnTime { get { From dd1f1129b3fbc1e44dac72c82ab792e7a2c78062 Mon Sep 17 00:00:00 2001 From: Dmitry Akhutin Date: Thu, 2 May 2019 14:41:10 -0700 Subject: [PATCH 3/4] [AutoML] Change wording for CouldNotFinshOnTime message --- src/mlnet/Strings.resx | 2 +- src/mlnet/strings.Designer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mlnet/Strings.resx b/src/mlnet/Strings.resx index f220f9ca2c..a53d68a868 100644 --- a/src/mlnet/Strings.resx +++ b/src/mlnet/Strings.resx @@ -199,6 +199,6 @@ Exception occured while saving the model - {0} seconds was not enough to train at least one model for your dataset. Try with a longer time. Learn about recommended training time at https://aka.ms/cli-trainingtime + {0} seconds was not enough to train at least one model for your dataset. Try increasing exploration time using -x option. Learn about recommended training time at https://aka.ms/cli-trainingtime \ No newline at end of file diff --git a/src/mlnet/strings.Designer.cs b/src/mlnet/strings.Designer.cs index e9791c1318..8d2dfda6df 100644 --- a/src/mlnet/strings.Designer.cs +++ b/src/mlnet/strings.Designer.cs @@ -70,7 +70,7 @@ internal static string BestPipeline { } /// - /// Looks up a localized string similar to {0} seconds was not enough to train at least one model for your dataset. Try with a longer time. Learn about recommended training time at https://aka.ms/cli-trainingtime. + /// Looks up a localized string similar to {0} seconds was not enough to train at least one model for your dataset. Try increasing exploration time using -x option. Learn about recommended training time at https://aka.ms/cli-trainingtime. /// internal static string CouldNotFinshOnTime { get { From 175c5ea4e56a80c812cd97876944c4a376e25ca5 Mon Sep 17 00:00:00 2001 From: Dmitry Akhutin Date: Thu, 2 May 2019 14:57:54 -0700 Subject: [PATCH 4/4] even better wording for CouldNotFinshOnTime --- src/mlnet/Strings.resx | 2 +- src/mlnet/strings.Designer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mlnet/Strings.resx b/src/mlnet/Strings.resx index a53d68a868..0fe84ec022 100644 --- a/src/mlnet/Strings.resx +++ b/src/mlnet/Strings.resx @@ -199,6 +199,6 @@ Exception occured while saving the model - {0} seconds was not enough to train at least one model for your dataset. Try increasing exploration time using -x option. Learn about recommended training time at https://aka.ms/cli-trainingtime + Time expired before creating a model. Try increasing the exploration time from {0} seconds to a longer duration using the --max-exploration-time option. Learn about recommended training time at https://aka.ms/cli-trainingtime \ No newline at end of file diff --git a/src/mlnet/strings.Designer.cs b/src/mlnet/strings.Designer.cs index 8d2dfda6df..5a1c6f7718 100644 --- a/src/mlnet/strings.Designer.cs +++ b/src/mlnet/strings.Designer.cs @@ -70,7 +70,7 @@ internal static string BestPipeline { } /// - /// Looks up a localized string similar to {0} seconds was not enough to train at least one model for your dataset. Try increasing exploration time using -x option. Learn about recommended training time at https://aka.ms/cli-trainingtime. + /// Looks up a localized string similar to Time expired before creating a model. Try increasing the exploration time from {0} seconds to a longer duration using the --max-exploration-time option. Learn about recommended training time at https://aka.ms/cli-trainingtime. /// internal static string CouldNotFinshOnTime { get {