4 instantiations of LinearSvmTrainer
Microsoft.ML.StandardTrainers (4)
Standard\MulticlassClassification\MetaMulticlassTrainer.cs (1)
88new LinearSvmTrainer(Host, new LinearSvmTrainer.Options());
Standard\Online\LinearSvm.cs (1)
332() => new LinearSvmTrainer(host, input),
StandardTrainersCatalog.cs (2)
830return new LinearSvmTrainer(CatalogUtils.GetEnvironment(catalog), labelColumnName, featureColumnName, exampleWeightColumnName, numberOfIterations); 851return new LinearSvmTrainer(CatalogUtils.GetEnvironment(catalog), options);
28 references to LinearSvmTrainer
Microsoft.ML.AutoML (3)
TrainerExtensions\BinaryTrainerExtensions.cs (1)
139var options = TrainerExtensionUtil.CreateOptions<LinearSvmTrainer.Options>(sweepParams, columnInfo.LabelColumnName);
TrainerExtensions\MultiTrainerExtensions.cs (2)
93var binaryTrainer = _binaryLearnerCatalogItem.CreateInstance(mlContext, sweepParams, columnInfo) as LinearSvmTrainer;
Microsoft.ML.IntegrationTests (2)
Training.cs (2)
183var trainer = mlContext.BinaryClassification.Trainers.LinearSvm( 184new LinearSvmTrainer.Options { NumberOfIterations = 1 });
Microsoft.ML.Samples (3)
Dynamic\Trainers\BinaryClassification\LinearSvm.cs (1)
27var pipeline = mlContext.BinaryClassification.Trainers
Dynamic\Trainers\BinaryClassification\LinearSvmWithOptions.cs (2)
28var options = new LinearSvmTrainer.Options 36var pipeline = mlContext.BinaryClassification.Trainers
Microsoft.ML.SearchSpace.Tests (1)
SearchSpaceTest.cs (1)
295CreateAndVerifyDefaultSearchSpace<LinearSvmTrainer.Options>();
Microsoft.ML.StandardTrainers (17)
Standard\MulticlassClassification\MetaMulticlassTrainer.cs (1)
88new LinearSvmTrainer(Host, new LinearSvmTrainer.Options());
Standard\Online\LinearSvm.cs (11)
19[assembly: LoadableClass(LinearSvmTrainer.Summary, typeof(LinearSvmTrainer), typeof(LinearSvmTrainer.Options), 21LinearSvmTrainer.UserNameValue, 22LinearSvmTrainer.LoadNameValue, 23LinearSvmTrainer.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 136public 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 823public 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 845public static LinearSvmTrainer LinearSvm(this BinaryClassificationCatalog.BinaryClassificationTrainers catalog, 846LinearSvmTrainer.Options options)
Microsoft.ML.Tests (2)
Scenarios\OvaTest.cs (1)
141mlContext.BinaryClassification.Trainers.LinearSvm(new LinearSvmTrainer.Options { NumberOfIterations = 100 }),
TrainerEstimators\OnlineLinearTests.cs (1)
49var svmTrainer = ML.BinaryClassification.Trainers.LinearSvm();