4 instantiations of OlsModelParameters
Microsoft.ML.Mkl.Components (4)
OlsLinearRegression.cs (4)
452
return new
OlsModelParameters
(Host, in weights, bias);
488
return new
OlsModelParameters
(Host, in weights, bias, rSquared: rSquared, rSquaredAdjusted: rSquaredAdjusted);
533
return new
OlsModelParameters
(Host, in weights, bias, standardErrors, tValues, pValues, rSquared, rSquaredAdjusted);
896
return new
OlsModelParameters
(env, ctx);
13 references to OlsModelParameters
Microsoft.ML.IntegrationTests (1)
Validation.cs (1)
49
Assert.IsType<TransformerChain<RegressionPredictionTransformer<
OlsModelParameters
>>>(cvResult[0].Model);
Microsoft.ML.Mkl.Components (11)
OlsLinearRegression.cs (11)
27
[assembly: LoadableClass(typeof(
OlsModelParameters
), null, typeof(SignatureLoadModel),
29
OlsModelParameters
.LoaderSignature)]
67
public sealed class OlsTrainer : TrainerEstimatorBase<RegressionPredictionTransformer<
OlsModelParameters
>,
OlsModelParameters
>
131
private protected override RegressionPredictionTransformer<
OlsModelParameters
> MakeTransformer(
OlsModelParameters
model, DataViewSchema trainSchema)
132
=> new RegressionPredictionTransformer<
OlsModelParameters
>(Host, model, trainSchema, FeatureColumn.Name);
151
private protected override
OlsModelParameters
TrainModelCore(TrainContext context)
413
private
OlsModelParameters
TrainCore(IChannel ch, FloatLabelCursor.Factory cursorFactory, int featureCount)
708
loaderAssemblyName: typeof(
OlsModelParameters
).Assembly.FullName);
891
internal static
OlsModelParameters
Create(IHostEnvironment env, ModelLoadContext ctx)
Microsoft.ML.Samples (1)
Dynamic\Trainers\Regression\PermutationFeatureImportanceLoadFromDisk.cs (1)
48
var linearPredictor = (model as TransformerChain<ITransformer>).LastTransformer as RegressionPredictionTransformer<
OlsModelParameters
>;