1 write to Command
Microsoft.ML.TestFramework (1)
BaseTestPredictorsMaml.cs (1)
55
Command
= cmd;
17 references to Command
Microsoft.ML.TestFramework (17)
BaseTestPredictorsMaml.cs (17)
99
if (ctx.
Command
!= Cmd.Test)
101
string dataName = ctx.
Command
== Cmd.Test ? ctx.Dataset.testFilename : ctx.Dataset.trainFilename;
109
if (ctx.
Command
== Cmd.TrainTest)
111
if (ctx.
Command
== Cmd.TrainTest || ctx.
Command
== Cmd.Train)
127
var modelPath = ctx.
Command
== Cmd.Train || ctx.
Command
== Cmd.TrainTest ? ctx.ModelPath() : null;
133
OutputPath predOutPath = ctx.
Command
== Cmd.Train ? null : ctx.InitPath(".txt");
140
if (ctx.
Command
== Cmd.CV)
150
if (ctx.
Command
!= Cmd.Test)
156
Log(" Running as: {0} {1}", ctx.
Command
, runcmd);
163
res = MainForTest(_env, LogWriter, string.Join(" ", ctx.
Command
, runcmd), ctx.BaselineProgress);
168
TestCore(ctx, ctx.
Command
.ToString(), runcmd, digitsOfPrecision: digitsOfPrecision, parseOption: parseOption);
198
if (ctx.
Command
== Cmd.Train || ctx.
Command
== Cmd.Test || ctx.ExpectedToFail)
208
if (ctx.
Command
== Cmd.CV && ctx.ExtraArgs != null && ctx.ExtraArgs.Any(arg => arg.Contains("opf+")))
220
if (ctx.
Command
== Cmd.TrainTest)