public DominationLossTrainingApplication(IHostEnvironment env, string args, TrainingApplicationData data)
     : base(env, RegistrationName, args, data)
 {
     base.cmd = this.cmd = new DominationLossCommandLineArgs();
 }
 public DominationLossObjectiveFunction(Dataset trainSet, BestDocsPerQuery bestDocsPerQuery, DominationLossCommandLineArgs cmd)
     : base(
         trainSet,
         cmd.learningRates,
         cmd.shrinkage,
         cmd.maxTreeOutput,
         cmd.getDerivativesSampleRate,
         cmd.bestStepRankingRegressionTrees,
         cmd.rngSeed)
 {
     _bestDocsPerQuery = bestDocsPerQuery;
 }