22 references to Cmd
Microsoft.ML.TestFramework (22)
BaseTestPredictorsMaml.cs (22)
36public readonly Cmd Command; 51public RunContext(TestCommandBase test, Cmd cmd, PredictorAndArgs predictor, TestDataset dataset, 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) 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) 385RunContext ctx = new RunContext(this, Cmd.Train, predictor, dataset, extraSettings, extraTag); 398RunContext ctx = new RunContext(this, Cmd.TrainTest, predictor, dataset, extraSettings, extraTag, expectFailure: expectFailure, summary: summary, saveAsIni: saveAsIni); 412RunContext trainCtx = new RunContext(this, Cmd.Train, predictor, dataset, extraSettings, extraTag); 415RunContext testCtx = new RunContext(this, Cmd.Test, predictor, dataset, extraSettings, extraTag, 424RunContext testCtx = new RunContext(this, Cmd.Test, predictor, dataset, 444RunContext cvCtx = new RunContext(this, Cmd.CV, predictor, dataset, extraSettings, extraTag);