Arow.update

Update weight vector

class Arow
int
update
@trusted
(
in double[int] f
,
int label
)
in { assert (label == -1 || label == 1); assert (f != null); }
out (loss) { assert (loss == 0 || loss == 1); }

Parameters

label
Type: int

class label (+1 / -1)

Return Value

Type: int

loss (0 / 1)

Meta