Share via


TweedieLoss(Double) Constructor

Definition

Constructor for Tweedie loss.

public TweedieLoss (double index = 1.5);
new Microsoft.ML.Trainers.TweedieLoss : double -> Microsoft.ML.Trainers.TweedieLoss
Public Sub New (Optional index As Double = 1.5)

Parameters

index
Double

Index parameter for the Tweedie distribution, in the range [1, 2]. 1 is Poisson loss, 2 is gamma loss, and intermediate values are compound Poisson loss.

Applies to