4 instantiations of LightGbmMulticlassTrainer
Microsoft.ML.LightGbm (4)
LightGbmCatalog.cs (3)
255
return new
LightGbmMulticlassTrainer
(env, labelColumnName, featureColumnName, exampleWeightColumnName, numberOfLeaves, minimumExampleCountPerLeaf, learningRate, numberOfIterations);
275
return new
LightGbmMulticlassTrainer
(env, options);
291
return new
LightGbmMulticlassTrainer
(env, lightGbmModel, featureColumnName);
LightGbmMulticlassTrainer.cs (1)
404
() => new
LightGbmMulticlassTrainer
(host, input),
46 references to LightGbmMulticlassTrainer
Microsoft.ML.AutoML (4)
API\MulticlassClassificationExperiment.cs (1)
96
/// See <see cref="
LightGbmMulticlassTrainer
"/>.
SweepableEstimator\Estimators\LightGbm.cs (1)
13
var option = new
LightGbmMulticlassTrainer
.Options()
TrainerExtensions\MultiTrainerExtensions.cs (2)
70
LightGbmMulticlassTrainer
.Options options = TrainerExtensionUtil.CreateLightGbmOptions<
LightGbmMulticlassTrainer
.Options, VBuffer<float>, MulticlassPredictionTransformer<OneVersusAllModelParameters>, OneVersusAllModelParameters>(sweepParams, columnInfo);
Microsoft.ML.LightGbm (21)
LightGbmCatalog.cs (7)
227
/// Create <see cref="
LightGbmMulticlassTrainer
"/>, which predicts a target using a gradient boosting decision tree multiclass classification model.
244
public static
LightGbmMulticlassTrainer
LightGbm(this MulticlassClassificationCatalog.MulticlassClassificationTrainers catalog,
259
/// Create <see cref="
LightGbmMulticlassTrainer
"/> with advanced options, which predicts a target using a gradient boosting decision tree multiclass classification model.
270
public static
LightGbmMulticlassTrainer
LightGbm(this MulticlassClassificationCatalog.MulticlassClassificationTrainers catalog,
271
LightGbmMulticlassTrainer
.Options options)
279
/// Create <see cref="
LightGbmMulticlassTrainer
"/> from a pre-trained LightGBM model, which predicts a target using a gradient boosting decision tree multiclass classification model.
284
public static
LightGbmMulticlassTrainer
LightGbm(this MulticlassClassificationCatalog.MulticlassClassificationTrainers catalog,
LightGbmMulticlassTrainer.cs (14)
19
[assembly: LoadableClass(
LightGbmMulticlassTrainer
.Summary, typeof(
LightGbmMulticlassTrainer
), typeof(
LightGbmMulticlassTrainer
.Options),
21
"LightGBM Multi-class Classifier",
LightGbmMulticlassTrainer
.LoadNameValue,
LightGbmMulticlassTrainer
.ShortName, DocName = "trainer/LightGBM.md")]
49
/// <seealso cref="LightGbmExtensions.LightGbm(MulticlassClassificationCatalog.MulticlassClassificationTrainers,
LightGbmMulticlassTrainer
.Options)"/>
51
public sealed class LightGbmMulticlassTrainer : LightGbmTrainerBase<
LightGbmMulticlassTrainer
.Options,
72
/// Options for the <see cref="
LightGbmMulticlassTrainer
"/> as used in
142
/// Initializes a new instance of <see cref="
LightGbmMulticlassTrainer
"/>
379
/// Trains a <see cref="
LightGbmMulticlassTrainer
"/> using both training and validation data, returns
394
UserName =
LightGbmMulticlassTrainer
.Summary,
395
ShortName =
LightGbmMulticlassTrainer
.ShortName)]
396
public static CommonOutputs.MulticlassClassificationOutput TrainMulticlass(IHostEnvironment env,
LightGbmMulticlassTrainer
.Options input)
403
return TrainerEntryPointsUtils.Train<
LightGbmMulticlassTrainer
.Options, CommonOutputs.MulticlassClassificationOutput>(host, input,
Microsoft.ML.PerformanceTests (2)
Numeric\Ranking.cs (1)
60
var environment = EnvironmentFactory.CreateRankingEnvironment<RankingEvaluator, TextLoader, HashingTransformer,
LightGbmMulticlassTrainer
, OneVersusAllModelParameters>();
Text\MultiClassClassification.cs (1)
55
var environment = EnvironmentFactory.CreateClassificationEnvironment<TextLoader, OneHotEncodingTransformer,
LightGbmMulticlassTrainer
, OneVersusAllModelParameters>();
Microsoft.ML.Predictor.Tests (1)
TestPredictors.cs (1)
807
LightGbm.TrainMulticlass(Env, new
LightGbmMulticlassTrainer
.Options
Microsoft.ML.Samples (1)
Dynamic\Trainers\MulticlassClassification\LightGbmWithOptions.cs (1)
31
var options = new
LightGbmMulticlassTrainer
.Options
Microsoft.ML.TensorFlow.Tests (1)
TensorflowTests.cs (1)
841
.Append(_mlContext.MulticlassClassification.Trainers.LightGbm(new Trainers.LightGbm.
LightGbmMulticlassTrainer
.Options()
Microsoft.ML.Tests (16)
OnnxConversionTest.cs (1)
1677
new
LightGbmMulticlassTrainer
.Options { UseSoftmax = true }));
TrainerEstimators\TreeEstimators.cs (15)
309
var
trainer = ML.MulticlassClassification.Trainers.LightGbm(learningRate: 0.4);
326
var
trainer = ML.MulticlassClassification.Trainers.LightGbm(fStream);
342
var options = new
LightGbmMulticlassTrainer
.Options
344
EvaluationMetric =
LightGbmMulticlassTrainer
.Options.EvaluateMetricType.Default,
349
var
trainer = ML.MulticlassClassification.Trainers.LightGbm(options);
365
var
trainer = ML.MulticlassClassification.Trainers.LightGbm(new
LightGbmMulticlassTrainer
.Options
390
var
trainer = ML.MulticlassClassification.Trainers.LightGbm(new
LightGbmMulticlassTrainer
.Options
409
var
trainer = ML.MulticlassClassification.Trainers.LightGbm(new
LightGbmMulticlassTrainer
.Options
463
var
gbmTrainer = new LightGbmMulticlassTrainer(mlContext,
464
new
LightGbmMulticlassTrainer
.Options
780
var
trainer = ML.MulticlassClassification.Trainers.LightGbm(learningRate: 0.4);
1113
new
LightGbmMulticlassTrainer
.Options