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