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