22 references to Cmd
Microsoft.ML.TestFramework (22)
BaseTestPredictorsMaml.cs (22)
35public readonly Cmd Command; 50public RunContext(TestCommandBase test, Cmd cmd, PredictorAndArgs predictor, TestDataset dataset, 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) 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) 382RunContext ctx = new RunContext(this, Cmd.Train, predictor, dataset, extraSettings, extraTag); 395RunContext ctx = new RunContext(this, Cmd.TrainTest, predictor, dataset, extraSettings, extraTag, expectFailure: expectFailure, summary: summary, saveAsIni: saveAsIni); 409RunContext trainCtx = new RunContext(this, Cmd.Train, predictor, dataset, extraSettings, extraTag); 412RunContext testCtx = new RunContext(this, Cmd.Test, predictor, dataset, extraSettings, extraTag, 421RunContext testCtx = new RunContext(this, Cmd.Test, predictor, dataset, 441RunContext cvCtx = new RunContext(this, Cmd.CV, predictor, dataset, extraSettings, extraTag);