語言

LinearModelParameters 類別

定義

線性模型參數的基底類別。

public abstract class LinearModelParameters : Microsoft.ML.Trainers.ModelParametersBase<float>, Microsoft.ML.Trainers.ICalculateFeatureContribution
type LinearModelParameters = class
    inherit ModelParametersBase<single>
    interface ICalculateFeatureContribution
Public MustInherit Class LinearModelParameters
Inherits ModelParametersBase(Of Single)
Implements ICalculateFeatureContribution
繼承
LinearModelParameters
衍生
實作

屬性

名稱 Description
Bias

預測器的偏誤項。

Weights

預測器的特徵權重係數。

明確介面實作

名稱 Description
ICalculateFeatureContribution.FeatureContributionCalculator

用來計算每個特徵對範例分數的貢獻。FeatureContributionCalculatingTransformer 對於線性模型,某特徵的貢獻等於特徵值乘以相應權重的乘積。

ICanSaveModel.Save(ModelSaveContext)

線性模型參數的基底類別。

(繼承來源 ModelParametersBase<TOutput>)

適用於