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