You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* LogisticRegression
* LogisticRegression - 2
* added ShortName for entrypoint back compatibility; updated manifest files
* also looked into MultiClass LR and PoissonRegression
* review comments
* review comments
* review comments
* ensure MLcontext names are same as those used in Options
nameof(LbfgsTrainerOptions.NumThreads),"numThreads must be positive (or empty for default)");
196
-
Host.CheckUserArg(LbfgsTrainerOptions.L2Weight>=0,nameof(LbfgsTrainerOptions.L2Weight),"Must be non-negative");
197
-
Host.CheckUserArg(LbfgsTrainerOptions.L1Weight>=0,nameof(LbfgsTrainerOptions.L1Weight),"Must be non-negative");
198
-
Host.CheckUserArg(LbfgsTrainerOptions.OptTol>0,nameof(LbfgsTrainerOptions.OptTol),"Must be positive");
199
-
Host.CheckUserArg(LbfgsTrainerOptions.MemorySize>0,nameof(LbfgsTrainerOptions.MemorySize),"Must be positive");
200
-
Host.CheckUserArg(LbfgsTrainerOptions.MaxIterations>0,nameof(LbfgsTrainerOptions.MaxIterations),"Must be positive");
201
-
Host.CheckUserArg(LbfgsTrainerOptions.SgdInitializationTolerance>=0,nameof(LbfgsTrainerOptions.SgdInitializationTolerance),"Must be non-negative");
202
-
Host.CheckUserArg(LbfgsTrainerOptions.NumThreads==null||LbfgsTrainerOptions.NumThreads.Value>=0,nameof(LbfgsTrainerOptions.NumThreads),"Must be non-negative");
203
-
204
-
Host.CheckParam(!(LbfgsTrainerOptions.L2Weight<0),nameof(LbfgsTrainerOptions.L2Weight),"Must be non-negative, if provided.");
205
-
Host.CheckParam(!(LbfgsTrainerOptions.L1Weight<0),nameof(LbfgsTrainerOptions.L1Weight),"Must be non-negative, if provided");
206
-
Host.CheckParam(!(LbfgsTrainerOptions.OptTol<=0),nameof(LbfgsTrainerOptions.OptTol),"Must be positive, if provided.");
207
-
Host.CheckParam(!(LbfgsTrainerOptions.MemorySize<=0),nameof(LbfgsTrainerOptions.MemorySize),"Must be positive, if provided.");
nameof(LbfgsTrainerOptions.NumberOfThreads),"Must be positive (or empty for default)");
220
+
Host.CheckUserArg(LbfgsTrainerOptions.L2Regularization>=0,nameof(LbfgsTrainerOptions.L2Regularization),"Must be non-negative");
221
+
Host.CheckUserArg(LbfgsTrainerOptions.L1Regularization>=0,nameof(LbfgsTrainerOptions.L1Regularization),"Must be non-negative");
222
+
Host.CheckUserArg(LbfgsTrainerOptions.OptmizationTolerance>0,nameof(LbfgsTrainerOptions.OptmizationTolerance),"Must be positive");
223
+
Host.CheckUserArg(LbfgsTrainerOptions.IterationsToRemember>0,nameof(LbfgsTrainerOptions.IterationsToRemember),"Must be positive");
224
+
Host.CheckUserArg(LbfgsTrainerOptions.NumberOfIterations>0,nameof(LbfgsTrainerOptions.NumberOfIterations),"Must be positive");
225
+
Host.CheckUserArg(LbfgsTrainerOptions.StochasticGradientDescentInitilaizationTolerance>=0,nameof(LbfgsTrainerOptions.StochasticGradientDescentInitilaizationTolerance),"Must be non-negative");
226
+
Host.CheckUserArg(LbfgsTrainerOptions.NumberOfThreads==null||LbfgsTrainerOptions.NumberOfThreads.Value>=0,nameof(LbfgsTrainerOptions.NumberOfThreads),"Must be non-negative");
227
+
228
+
Host.CheckParam(!(LbfgsTrainerOptions.L2Regularization<0),nameof(LbfgsTrainerOptions.L2Regularization),"Must be non-negative, if provided.");
229
+
Host.CheckParam(!(LbfgsTrainerOptions.L1Regularization<0),nameof(LbfgsTrainerOptions.L1Regularization),"Must be non-negative, if provided");
230
+
Host.CheckParam(!(LbfgsTrainerOptions.OptmizationTolerance<=0),nameof(LbfgsTrainerOptions.OptmizationTolerance),"Must be positive, if provided.");
231
+
Host.CheckParam(!(LbfgsTrainerOptions.IterationsToRemember<=0),nameof(LbfgsTrainerOptions.IterationsToRemember),"Must be positive, if provided.");
0 commit comments