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