Arow

Adaptive Regularization of Weight Vectors

Constructors

this
this(size_t num_features, double param)
Undocumented in source.

Members

Functions

getMargin
double getMargin(double[int] f)

Calculate the distance between a vector and the hyperplane

predict
int predict(double[int] f)

Predict

update
int update(double[int] f, int label)

Update weight vector

Properties

dim
auto dim [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
param
auto param [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
param
double param [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

See Also

K. Crammer, A. Kulesza, and M. Dredze. "Adaptive regularization of weight vectors" NIPS 2009

Meta