Share via


GamRegressionModelParameters Class

Definition

Model parameters for GamRegressionTrainer.

public sealed class GamRegressionModelParameters : Microsoft.ML.Trainers.FastTree.GamModelParametersBase
type GamRegressionModelParameters = class
    inherit GamModelParametersBase
Public NotInheritable Class GamRegressionModelParameters
Inherits GamModelParametersBase
Inheritance

Fields

Bias

The model intercept. Also known as bias or mean effect.

(Inherited from GamModelParametersBase)
NumberOfShapeFunctions

The number of shape functions used in the model.

(Inherited from GamModelParametersBase)

Methods

GetBinEffects(Int32)

Get the binned weights for each feature.

(Inherited from GamModelParametersBase)
GetBinUpperBounds(Int32)

Get the bin upper bounds for each feature.

(Inherited from GamModelParametersBase)

Explicit Interface Implementations

ICalculateFeatureContribution.FeatureContributionCalculator

Used to determine the contribution of each feature to the score of an example by FeatureContributionCalculatingTransformer. For Generalized Additive Models (GAM), the contribution of a feature is equal to the shape function for the given feature evaluated at the feature value.

(Inherited from GamModelParametersBase)
ICanSaveModel.Save(ModelSaveContext) (Inherited from ModelParametersBase<TOutput>)

Applies to