1 write to Command
Microsoft.ML.TestFramework (1)
BaseTestPredictorsMaml.cs (1)
56
Command
= cmd;
17 references to Command
Microsoft.ML.TestFramework (17)
BaseTestPredictorsMaml.cs (17)
100
if (ctx.
Command
!= Cmd.Test)
102
string dataName = ctx.
Command
== Cmd.Test ? ctx.Dataset.testFilename : ctx.Dataset.trainFilename;
110
if (ctx.
Command
== Cmd.TrainTest)
112
if (ctx.
Command
== Cmd.TrainTest || ctx.
Command
== Cmd.Train)
128
var modelPath = ctx.
Command
== Cmd.Train || ctx.
Command
== Cmd.TrainTest ? ctx.ModelPath() : null;
134
OutputPath predOutPath = ctx.
Command
== Cmd.Train ? null : ctx.InitPath(".txt");
141
if (ctx.
Command
== Cmd.CV)
151
if (ctx.
Command
!= Cmd.Test)
157
Log(" Running as: {0} {1}", ctx.
Command
, runcmd);
164
res = MainForTest(_env, LogWriter, string.Join(" ", ctx.
Command
, runcmd), ctx.BaselineProgress);
169
TestCore(ctx, ctx.
Command
.ToString(), runcmd, digitsOfPrecision: digitsOfPrecision, parseOption: parseOption);
199
if (ctx.
Command
== Cmd.Train || ctx.
Command
== Cmd.Test || ctx.ExpectedToFail)
207
if (ctx.
Command
== Cmd.CV && ctx.ExtraArgs != null && ctx.ExtraArgs.Any(arg => arg.Contains("opf+")))
218
if (ctx.
Command
== Cmd.TrainTest)