From 34cf7c3636fcf86a2ae0b2ef4ecdbf202ba6432a Mon Sep 17 00:00:00 2001 From: Dmitry Akhutin Date: Fri, 26 Apr 2019 18:43:21 -0700 Subject: [PATCH 1/2] take dependency on a specific ml.net version --- Microsoft.ML.AutoML.sln | 2 +- nuget.config | 6 ++++++ src/Microsoft.ML.AutoML/Microsoft.ML.AutoML.csproj | 10 +++++++--- 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 nuget.config diff --git a/Microsoft.ML.AutoML.sln b/Microsoft.ML.AutoML.sln index fe986e676a..bbe5810a67 100644 --- a/Microsoft.ML.AutoML.sln +++ b/Microsoft.ML.AutoML.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.28010.2050 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ML.AutML", "src\Microsoft.ML.AutoML\Microsoft.ML.AutoML.csproj", "{B3727729-3DF8-47E0-8710-9B41DAF55817}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ML.AutoML", "src\Microsoft.ML.AutoML\Microsoft.ML.AutoML.csproj", "{B3727729-3DF8-47E0-8710-9B41DAF55817}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ML.AutoML.Tests", "test\Microsoft.ML.AutoML.Tests\Microsoft.ML.AutoML.Tests.csproj", "{55ACB7E2-053D-43BB-88E8-0E102FBD62F0}" EndProject diff --git a/nuget.config b/nuget.config new file mode 100644 index 0000000000..3df3e21e3a --- /dev/null +++ b/nuget.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/Microsoft.ML.AutoML/Microsoft.ML.AutoML.csproj b/src/Microsoft.ML.AutoML/Microsoft.ML.AutoML.csproj index 0ba70a36e3..80369eccca 100644 --- a/src/Microsoft.ML.AutoML/Microsoft.ML.AutoML.csproj +++ b/src/Microsoft.ML.AutoML/Microsoft.ML.AutoML.csproj @@ -9,10 +9,14 @@ Microsoft.ML.AutoML + + 1.0.0-preview-27625-16 + + - - - + + + From f90d59966fd6aae50db70406404e0cc511c8c599 Mon Sep 17 00:00:00 2001 From: Dmitry Akhutin Date: Fri, 26 Apr 2019 19:00:24 -0700 Subject: [PATCH 2/2] catch up to spelling fix for OptimizationTolerance --- src/Microsoft.ML.AutoML/TrainerExtensions/SweepableParams.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.ML.AutoML/TrainerExtensions/SweepableParams.cs b/src/Microsoft.ML.AutoML/TrainerExtensions/SweepableParams.cs index 6814a54f1b..c689222c30 100644 --- a/src/Microsoft.ML.AutoML/TrainerExtensions/SweepableParams.cs +++ b/src/Microsoft.ML.AutoML/TrainerExtensions/SweepableParams.cs @@ -53,7 +53,7 @@ private static IEnumerable BuildLbfgsArgsParams() return new SweepableParam[] { new SweepableFloatParam("L2Regularization", 0.0f, 1.0f, numSteps: 4), new SweepableFloatParam("L1Regularization", 0.0f, 1.0f, numSteps: 4), - new SweepableDiscreteParam("OptmizationTolerance", new object[] { 1e-4f, 1e-7f }), + new SweepableDiscreteParam("OptimizationTolerance", new object[] { 1e-4f, 1e-7f }), new SweepableDiscreteParam("HistorySize", new object[] { 5, 20, 50 }), new SweepableLongParam("MaximumNumberOfIterations", 1, int.MaxValue), new SweepableFloatParam("InitialWeightsDiameter", 0.0f, 1.0f, numSteps: 5),