4 instantiations of LinearRegressionModelParameters
Microsoft.ML.StandardTrainers (4)
Standard\LinearModelParameters.cs (2)
649return new LinearRegressionModelParameters(env, ctx); 677return new LinearRegressionModelParameters(Host, in weights, bias);
Standard\Online\OnlineGradientDescent.cs (1)
124return new LinearRegressionModelParameters(ParentHost, in weights, bias);
Standard\SdcaRegression.cs (1)
155return new LinearRegressionModelParameters(Host, in maybeSparseWeights, bias[0]);
22 references to LinearRegressionModelParameters
Microsoft.ML.IntegrationTests (1)
Explainability.cs (1)
101var linearModel = model.LastTransformer.Model;
Microsoft.ML.StandardTrainers (16)
Standard\LinearModelParameters.cs (4)
29[assembly: LoadableClass(typeof(LinearRegressionModelParameters), null, typeof(SignatureLoadModel), 31LinearRegressionModelParameters.LoaderSignature)] 624loaderAssemblyName: typeof(LinearRegressionModelParameters).Assembly.FullName); 644internal static LinearRegressionModelParameters Create(IHostEnvironment env, ModelLoadContext ctx)
Standard\Online\OnlineGradientDescent.cs (6)
58public sealed class OnlineGradientDescentTrainer : AveragedLinearTrainer<RegressionPredictionTransformer<LinearRegressionModelParameters>, LinearRegressionModelParameters> 107public override LinearRegressionModelParameters CreatePredictor() 202private protected override RegressionPredictionTransformer<LinearRegressionModelParameters> MakeTransformer(LinearRegressionModelParameters model, DataViewSchema trainSchema) 203=> new RegressionPredictionTransformer<LinearRegressionModelParameters>(Host, model, trainSchema, FeatureColumn.Name);
Standard\SdcaRegression.cs (6)
54public sealed class SdcaRegressionTrainer : SdcaTrainerBase<SdcaRegressionTrainer.Options, RegressionPredictionTransformer<LinearRegressionModelParameters>, LinearRegressionModelParameters> 144private protected override LinearRegressionModelParameters CreatePredictor(VBuffer<float>[] weights, float[] bias) 201private protected override RegressionPredictionTransformer<LinearRegressionModelParameters> MakeTransformer(LinearRegressionModelParameters model, DataViewSchema trainSchema) 202=> new RegressionPredictionTransformer<LinearRegressionModelParameters>(Host, model, trainSchema, FeatureColumn.Name);
Microsoft.ML.Tests (5)
PermutationFeatureImportanceTests.cs (4)
49var castedModel = loadedModel as RegressionPredictionTransformer<LinearRegressionModelParameters>; 123var castedModel = lastTransformer as RegressionPredictionTransformer<LinearRegressionModelParameters>; 191var castedModel = loadedModel as RegressionPredictionTransformer<LinearRegressionModelParameters>; 279var castedModel = loadedModel as RegressionPredictionTransformer<LinearRegressionModelParameters>;
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (1)
397var linearModel = model.LastTransformer.Model;