114 writes to Trainer
Microsoft.ML.Predictor.Tests (2)
TestPredictors.cs (2)
213Trainer = new SubComponent("MulticlassLogisticRegression", "ot=1e-3 nt=1"), 613Trainer = new SubComponent("LightGBMRank",
Microsoft.ML.TestFramework (112)
Learners.cs (112)
31Trainer = trainer; 49Trainer = new SubComponent("PriorPredictor"), 56Trainer = new SubComponent("SDCA", "maxIterations=5 checkFreq=9 nt=1"), 63Trainer = new SubComponent("SDCA", "l2=1e-06 l1=0.5 maxIterations=5 checkFreq=9 nt=1"), 70Trainer = new SubComponent("SDCA", "l2=1e-06 loss=SmoothedHinge l1=0.5 maxIterations=5 checkFreq=9 nt=1"), 77Trainer = new SubComponent("SGD", "maxIterations=2 checkFreq=9 nt=1"), 84Trainer = new SubComponent("SGD", "loss=Hinge maxIterations=2 checkFreq=9 nt=1"), 91Trainer = new SubComponent("SDCAMC", "maxIterations=20 checkFreq=0 nt=1"), 98Trainer = new SubComponent("SDCAMC", "l2=1e-04 l1=0.5 maxIterations=20 checkFreq=0 nt=1"), 105Trainer = new SubComponent("SDCAMC", "l2=1e-04 loss=SmoothedHinge maxIterations=20 checkFreq=0 nt=1"), 112Trainer = new SubComponent("AveragedPerceptron", "lr=0.01 iter=100 numnorm=500 lazy+"), 117Trainer = new SubComponent("AveragedPerceptron", "lr=0.01 iter=100 lazy+"), 123Trainer = new SubComponent("AveragedPerceptron", "lr=0.01 iter=100 lazy+ reg=0.002"), 129Trainer = new SubComponent("OVA", "p=AvgPer{ lr=0.8 }"), 135Trainer = new SubComponent("OVA", "p=FastForest{ }"), 142Trainer = new SubComponent("PKPD", "p=AvgPer { lr=0.8 }"), 149Trainer = new SubComponent("AveragedPerceptron"), 155Trainer = new SubComponent("AveragedPerceptron", "norm={}"), 161Trainer = new SubComponent("LinearSVM", "iter=100 lambda=0.03"), 167Trainer = new SubComponent("LinearSVM", "iter=100 lambda=0.03 norm={}"), 173Trainer = new SubComponent("LinearSVM", "iter=1 lambda=0.03 norm={}"), 179Trainer = new SubComponent("LogisticRegression", "l1=1.0 l2=0.1 ot=1e-3 norm={} nt=1"), 185Trainer = new SubComponent("LogisticRegression", "l1=1.0 l2=0.1 ot=1e-3 nt=1"), 193Trainer = new SubComponent("SymSGD", "nt=1"), 201Trainer = new SubComponent("LogisticRegression", "l1=1.0 l2=0.1 ot=1e-4 nt=1 nn=+"), 210Trainer = new SubComponent("LogisticRegression", "l1=1.0 l2=0.1 ot=1e-3 nt=1"), 218Trainer = new SubComponent("LogisticRegression", "l1=1.0 l2=0.1 ot=1e-3 nt=1"), 227Trainer = new SubComponent("LogisticRegression", "l1=1.0 l2=0.1 ot=1e-3 sgd=0.1 nt=1"), 234Trainer = new SubComponent("LogisticRegression", "l1=1.0 l2=0.1 ot=1e-3 nt=1"), 243Trainer = new SubComponent("MulticlassLogisticRegression", "l1=0.001 l2=0.1 ot=1e-3 nt=1"), 251Trainer = new SubComponent("MulticlassLogisticRegression", "l1=0.001 l2=0.1 ot=1e-3 nt=1 nn=+"), 260Trainer = new SubComponent("MulticlassLogisticRegression", "nt=1"), 267Trainer = new SubComponent("FastForestClassification", "nl=5 mil=10 iter=10"), 274Trainer = new SubComponent("FastRank", "nl=5 mil=5 lr=0.25 iter=20"), 281Trainer = new SubComponent("FastRank", "nl=5 mil=5 lr=0.25 iter=20 pruning=+"), 288Trainer = new SubComponent("FastRank", "nl=5 mil=20 lr=0.25 iter=20"), 294Trainer = new SubComponent("FastTreeBinaryClassification", "nl=5 mil=5 lr=0.25 iter=20 mb=255"), 301Trainer = new SubComponent("LightGBMBinary", "nt=1 nl=5 mil=5 lr=0.25 iter=20 mb=255"), 308Trainer = new SubComponent("LightGBM", "nt=1 iter=10 v=+ booster=goss lr=0.2 mil=10 nl=20"), 315Trainer = new SubComponent("LightGBM", "nt=1 iter=10 booster=dart lr=0.2 mil=10 nl=20"), 322Trainer = new SubComponent("LightGBMMC", "nt=1 iter=10 v=- lr=0.2 mil=10 nl=20"), 329Trainer = new SubComponent("LightGBMR", "nt=1 iter=50 v=+ booster=gbdt{l1=0.2 l2=0.2} lr=0.2 mil=10 nl=20"), 336Trainer = new SubComponent("LightGBMR", "nt=1 iter=50 em=MeanAbsoluteError v=+ lr=0.2 mil=10 nl=20"), 343Trainer = new SubComponent("LightGBMR", "nt=1 iter=50 em=RootMeanSquaredError v=+ lr=0.2 mil=10 nl=20"), 350Trainer = new SubComponent("FastTreeBinaryClassification", "cat=+ nl=5 mil=5 lr=0.25 iter=20 mb=255"), 357Trainer = new SubComponent("FastTreeBinaryClassification", "cat=+ nl=5 mil=5 lr=0.25 iter=20 mb=255 dt+"), 364Trainer = new SubComponent("FastTreeBinaryClassification", "mil=10000 iter=5"), 371Trainer = new SubComponent("FastTreeBinaryClassification", "nl=5 mil=5 lr=0.25 iter=20 mb=255 dt+"), 378Trainer = new SubComponent("FastTreeBinaryClassification", "nl=5 mil=5 tdrop=0.5 lr=0.25 iter=20 mb=255"), 385Trainer = new SubComponent("FastTreeBinaryClassification", "nl=5 mil=5 bsr+ lr=0.25 iter=20 mb=255"), 392Trainer = new SubComponent("FastTreeRanking", "iter=10 nl=10 mil=32 lr=0.30 mb=255"), 399Trainer = new SubComponent("FastTreeRanking", "iter=10 nl=10 mil=32 lr=0.30 mb=255 gains=0,2,3,5,6"), 407Trainer = new SubComponent("FastTreeRegression", "nl=5 mil=5 lr=0.25 iter=20 mb=255"), 414Trainer = new SubComponent("FastTreeRegression", "cat=+ nl=5 mil=5 lr=0.25 iter=20 mb=255"), 421Trainer = new SubComponent("FastTreeRegression", "nl=30 mil=30 lr=0.25 iter=10 mb=255"), 428Trainer = new SubComponent("FastTreeRegression", "nl=5 mil=5 tdrop=0.5 lr=0.25 iter=20 mb=255"), 435Trainer = new SubComponent("FastTreeTweedieRegression", "nl=5 mil=5 lr=0.25 iter=10 mb=255 index=1.5"), 443Trainer = new SubComponent("RegressionGamTrainer", ""), 450Trainer = new SubComponent("BinaryClassificationGamTrainer", ""), 457Trainer = new SubComponent("BinaryClassificationGamTrainer", "dt+"), 465Trainer = new SubComponent("FastForestRegression", "nl=5 mil=5 iter=20"), 474Trainer = new SubComponent("FastForestRegression", "nl=5 mil=5 iter=20"), 480Trainer = new SubComponent("FastRankRegression", "nl=5 mil=5 lr=0.25 iter=20"), 486Trainer = new SubComponent("FastRankRegression", "nl=5 mil=20 lr=0.25 iter=20"), 492Trainer = new SubComponent("OGD", "iter=100"), 498Trainer = new SubComponent("OLS"), 504Trainer = new SubComponent("OLS"), 511Trainer = new SubComponent("OLS", "l2=0.1"), 518Trainer = new SubComponent("SDCAR", "nt=1"), 524Trainer = new SubComponent("SDCAR", "l2=0.01 l1=0 iter=10 checkFreq=-1 nt=1"), 530Trainer = new SubComponent("SDCAR", "l2=0.1 l1=0 iter=10 checkFreq=-1 nt=1"), 536Trainer = new SubComponent("FastRankRanking", "iter=10 nl=10 mil=32 lr=0.30"), 542Trainer = new SubComponent("FastRankRanking", "iter=10 nl=10 mil=32 lr=0.30"), 548Trainer = new SubComponent("PoissonRegression", "l1=1.0 ot=1e-2 nt=1"), 556Trainer = new SubComponent("PoissonRegression", "l1=1.0 ot=1e-2 nt=1 nn=+"), 565Trainer = new SubComponent("BinaryNeuralNetwork", "accel=sse"), 571Trainer = new SubComponent("BinaryNeuralNetwork", "accel=sse"), 578Trainer = new SubComponent("BinaryNeuralNetwork", "momentum=0.5 accel=sse"), 586Trainer = new SubComponent("BinaryNeuralNetwork", "filename={" + path + "} lr=0.01 accel=sse"), 596Trainer = new SubComponent("BinaryNeuralNetwork", "net=" + quoted + " accel=sse"), 605Trainer = new SubComponent("MultiClassNeuralNetwork", string.Format("lr=0.1 accel=sse output={0}", numOutputs)), 614Trainer = new SubComponent("MultiClassNeuralNetwork", "filename={" + path + "} lr=0.1 accel=sse"), 623Trainer = new SubComponent("MultiClassNeuralNetwork", "filename={" + path + "} lr=0.1 lred=0.9 lredfreq=5 lrederror=0.02 accel=sse"), 632Trainer = new SubComponent("MultiClassNeuralNetwork", 644Trainer = new SubComponent("DssmNet", settings), 652Trainer = new SubComponent("OneClassSVM"), 657Trainer = new SubComponent("OneClassSVM", "ker=SigmoidKernel {g=0.005}"), 662Trainer = new SubComponent("OneClassSVM", "ker=LinearKernel"), 667Trainer = new SubComponent("OneClassSVM", "ker=PolynomialKernel {b=1}"), 672Trainer = new SubComponent("pcaAnomaly"), 678Trainer = new SubComponent("pcaAnomaly"), 685Trainer = new SubComponent("LdSvm", "iter=1000"), 691Trainer = new SubComponent("LdSvm", "iter=1000 bias=-"), 697Trainer = new SubComponent("KM", "nt=1"), 703Trainer = new SubComponent("KM", "norm={} nt=1"), 709Trainer = new SubComponent("KM", "nt=1 init=KMeansPlusPlus"), 715Trainer = new SubComponent("KM", "nt=1 init=Random"), 724Trainer = new SubComponent(BinaryTrembleTrainer, "inp=SingleFeaturePredictor inp=LogisticRegression{maxiter=10 quiet=+ t-} lnp=LogisticRegression{maxiter=100 quiet=+ t-} nl=8"), 730Trainer = new SubComponent(BinaryTrembleTrainer, ""), 736Trainer = new SubComponent(BinaryTrembleTrainer, "prune=+"), 742Trainer = new SubComponent(BinaryTrembleTrainer, "imp=Gini"), 748Trainer = new SubComponent(BinaryTrembleTrainer, "mil=2 inp=SingleFeaturePredictor{nb=FIFTEEN ff=0.7} nl=40"), 754Trainer = new SubComponent(BinaryTrembleTrainer, "mil=2 inp=SingleFeaturePredictor{nb=FIFTEEN ff=0.7} nl=40 rewt=+"), 760Trainer = new SubComponent(MulticlassTrembleTrainer, "inp=SingleFeaturePredictor inp=LogisticRegression{maxiter=10 quiet=+ t-} lnp=MulticlassLogisticRegression{maxiter=100 quiet=+ t-} nl=8"), 766Trainer = new SubComponent(MulticlassTrembleTrainer, "nl=20"), 772Trainer = new SubComponent(MulticlassTrembleTrainer, "nl=20 prune=+"), 778Trainer = new SubComponent(MulticlassTrembleTrainer, "nl=20 imp=Gini"), 784Trainer = new SubComponent(MulticlassTrembleTrainer, "mil=2 inp=SingleFeaturePredictor{nb=FIFTEEN ff=0.7} nl=40"), 792Trainer = new SubComponent(BinaryBPMTrainer), 798Trainer = new SubComponent(BinaryBPMTrainer, "bias=-"), 805Trainer = new SubComponent("MultiClassNaiveBayes", ""), 811Trainer = new SubComponent("FieldAwareFactorizationMachine", "d=5 shuf- norm-"),
10 references to Trainer
Microsoft.ML.Predictor.Tests (5)
TestPredictors.cs (5)
372string dir = learner.Trainer.Kind; 1673string dir = learner.Trainer.Kind; 1750path = DeleteOutputPath(TestLearners.NnBinDefault.Trainer.Kind, "BcInputMismatch.nn"); 1760path = DeleteOutputPath(TestLearners.NnBinDefault.Trainer.Kind, "BcOutputMismatch.nn"); 1771path = DeleteOutputPath(TestLearners.NnBinDefault.Trainer.Kind, "BcNonBinData.nn");
Microsoft.ML.TestFramework (5)
BaseTestPredictorsMaml.cs (4)
53: base(test, predictor.Trainer.Kind, GetNamePrefix(cmd.ToString(), predictor, dataset, extraTag), predictor.BaselineProgress) 100AddIfNotEmpty(args, ctx.Predictor.Trainer, "tr"); 106Log("Running '{0}' on '{1}'", ctx.Predictor.Trainer.Kind, ctx.Dataset.name); 317string filePrefix = (string.IsNullOrEmpty(predictor.Tag) ? predictor.Trainer.Kind : predictor.Tag);
TestCommandBase.cs (1)
912string extraArgs = $"tr=lr{{{TestLearnersBase.logisticRegression.Trainer.SubComponentSettings}}} strat=Strat threads- norm=Warn";