4 instantiations of LinearSvmTrainer
Microsoft.ML.StandardTrainers (4)
Standard\MulticlassClassification\MetaMulticlassTrainer.cs (1)
88
new
LinearSvmTrainer
(Host, new LinearSvmTrainer.Options());
Standard\Online\LinearSvm.cs (1)
332
() => new
LinearSvmTrainer
(host, input),
StandardTrainersCatalog.cs (2)
830
return new
LinearSvmTrainer
(CatalogUtils.GetEnvironment(catalog), labelColumnName, featureColumnName, exampleWeightColumnName, numberOfIterations);
851
return new
LinearSvmTrainer
(CatalogUtils.GetEnvironment(catalog), options);
28 references to LinearSvmTrainer
Microsoft.ML.AutoML (3)
TrainerExtensions\BinaryTrainerExtensions.cs (1)
139
var options = TrainerExtensionUtil.CreateOptions<
LinearSvmTrainer
.Options>(sweepParams, columnInfo.LabelColumnName);
TrainerExtensions\MultiTrainerExtensions.cs (2)
93
var
binaryTrainer = _binaryLearnerCatalogItem.CreateInstance(mlContext, sweepParams, columnInfo) as
LinearSvmTrainer
;
Microsoft.ML.IntegrationTests (2)
Training.cs (2)
183
var
trainer = mlContext.BinaryClassification.Trainers.LinearSvm(
184
new
LinearSvmTrainer
.Options { NumberOfIterations = 1 });
Microsoft.ML.Samples (3)
Dynamic\Trainers\BinaryClassification\LinearSvm.cs (1)
27
var
pipeline = mlContext.BinaryClassification.Trainers
Dynamic\Trainers\BinaryClassification\LinearSvmWithOptions.cs (2)
28
var options = new
LinearSvmTrainer
.Options
36
var
pipeline = mlContext.BinaryClassification.Trainers
Microsoft.ML.SearchSpace.Tests (1)
SearchSpaceTest.cs (1)
295
CreateAndVerifyDefaultSearchSpace<
LinearSvmTrainer
.Options>();
Microsoft.ML.StandardTrainers (17)
Standard\MulticlassClassification\MetaMulticlassTrainer.cs (1)
88
new LinearSvmTrainer(Host, new
LinearSvmTrainer
.Options());
Standard\Online\LinearSvm.cs (11)
19
[assembly: LoadableClass(
LinearSvmTrainer
.Summary, typeof(
LinearSvmTrainer
), typeof(
LinearSvmTrainer
.Options),
21
LinearSvmTrainer
.UserNameValue,
22
LinearSvmTrainer
.LoadNameValue,
23
LinearSvmTrainer
.ShortName)]
25
[assembly: LoadableClass(typeof(void), typeof(
LinearSvmTrainer
), null, typeof(SignatureEntryPointModule), "LinearSvm")]
63
/// <seealso cref="StandardTrainersCatalog.LinearSvm(BinaryClassificationCatalog.BinaryClassificationTrainers,
LinearSvmTrainer
.Options)"/>
78
/// Options for the <see cref="
LinearSvmTrainer
"/> as used in
136
public TrainState(IChannel ch, int numFeatures, LinearModelParameters predictor,
LinearSvmTrainer
parent)
271
/// Initializes a new instance of <see cref="
LinearSvmTrainer
"/>.
StandardTrainersCatalog.cs (5)
809
/// Create <see cref="
LinearSvmTrainer
"/>, which predicts a target using a linear binary classification model trained
823
public static
LinearSvmTrainer
LinearSvm(this BinaryClassificationCatalog.BinaryClassificationTrainers catalog,
834
/// Create <see cref="
LinearSvmTrainer
"/> with advanced options, which predicts a target using a linear binary classification model
845
public static
LinearSvmTrainer
LinearSvm(this BinaryClassificationCatalog.BinaryClassificationTrainers catalog,
846
LinearSvmTrainer
.Options options)
Microsoft.ML.Tests (2)
Scenarios\OvaTest.cs (1)
141
mlContext.BinaryClassification.Trainers.LinearSvm(new
LinearSvmTrainer
.Options { NumberOfIterations = 100 }),
TrainerEstimators\OnlineLinearTests.cs (1)
49
var
svmTrainer = ML.BinaryClassification.Trainers.LinearSvm();