2 instantiations of LinearMulticlassModelParameters
Microsoft.ML.StandardTrainers (2)
Standard\LogisticRegression\MulticlassLogisticRegression.cs (1)
1176
return new
LinearMulticlassModelParameters
(env, ctx);
Standard\SdcaMulticlass.cs (1)
658
return new
LinearMulticlassModelParameters
(Host, weights, bias, bias.Length, weights[0].Length, null, stats: null);
12 references to LinearMulticlassModelParameters
Microsoft.ML.StandardTrainers (12)
Standard\LogisticRegression\MulticlassLogisticRegression.cs (6)
34
[assembly: LoadableClass(typeof(
LinearMulticlassModelParameters
), null, typeof(SignatureLoadModel),
36
LinearMulticlassModelParameters
.LoaderSignature)]
412
/// Common linear model of multiclass classifiers. <see cref="
LinearMulticlassModelParameters
"/> contains a single
1141
loaderAssemblyName: typeof(
LinearMulticlassModelParameters
).Assembly.FullName);
1171
internal static
LinearMulticlassModelParameters
Create(IHostEnvironment env, ModelLoadContext ctx)
1191
private protected override string GetTrainerName() => nameof(
LinearMulticlassModelParameters
);
Standard\SdcaMulticlass.cs (6)
571
/// The trained model <see cref="
LinearMulticlassModelParameters
"/> produces probabilities of classes.
606
public sealed class SdcaNonCalibratedMulticlassTrainer : SdcaMulticlassTrainerBase<
LinearMulticlassModelParameters
>
651
private protected override
LinearMulticlassModelParameters
CreatePredictor(VBuffer<float>[] weights, float[] bias)
661
private protected override MulticlassPredictionTransformer<
LinearMulticlassModelParameters
> MakeTransformer(
662
LinearMulticlassModelParameters
model, DataViewSchema trainSchema) =>
663
new MulticlassPredictionTransformer<
LinearMulticlassModelParameters
>(Host, model, trainSchema, FeatureColumn.Name, LabelColumn.Name);