Share via


ISupportSdcaLoss.DualUpdate(Single, Single, Single, Single, Int32) Method

Definition

Compute the dual update (\Delta\alpha_i) in SDCA

  • alpha: dual variable at the specified instance
  • lambdaN: L2 const x number of instances
  • cached invariant, hinted by the method above
public float DualUpdate (float output, float label, float dual, float invariant, int maxNumThreads);
abstract member DualUpdate : single * single * single * single * int -> single
Public Function DualUpdate (output As Single, label As Single, dual As Single, invariant As Single, maxNumThreads As Integer) As Single

Parameters

output
Single
label
Single
dual
Single
invariant
Single
maxNumThreads
Int32

Returns

Applies to