public class L2RegularizationTerm extends LeastSquaresTermBase
| Modifier and Type | Field and Description |
|---|---|
static double |
defaultWeight |
DEFAULT_ENABLED, myProps| Constructor and Description |
|---|
L2RegularizationTerm() |
L2RegularizationTerm(double weight) |
L2RegularizationTerm(TrackingController controller)
Old constructor: argument is no longer used
|
L2RegularizationTerm(TrackingController controller,
int size)
Old constructor: both arguments are no longer used
|
| Modifier and Type | Method and Description |
|---|---|
int |
getRowSize()
Returns the number of rows.
|
void |
setWeights(VectorNd w)
Set the regularization weights for each activation value.
|
addRows, getAllPropertyInfo, getQP, getTerm, isEnabled, setEnabled, setSizedispose, getProperty, getSize, getWeight, setWeightequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPropertypublic static final double defaultWeight
public L2RegularizationTerm()
public L2RegularizationTerm(double weight)
public L2RegularizationTerm(TrackingController controller, int size)
public L2RegularizationTerm(TrackingController controller)
public void setWeights(VectorNd w)
w - weights for activation valuespublic int getRowSize()
LeastSquaresTerm