|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectLBJ2.learn.Parameters
LBJ2.learn.LinearThresholdUnit.Parameters
public static class LinearThresholdUnit.Parameters
Simply a container for all of LinearThresholdUnit's configurable
parameters. Using instances of this class should make code more
readable and constructors less complicated.
| Field Summary | |
|---|---|
double |
initialWeight
The weight associated with a feature when first added to the vector; default LinearThresholdUnit.defaultInitialWeight. |
double |
negativeThickness
The thickness of the hyperplane on the negative side; default 0. |
double |
positiveThickness
The thickness of the hyperplane on the positive side; default 0. |
double |
thickness
This thickness will be added to both positiveThickness and
negativeThickness; default
LinearThresholdUnit.defaultThickness. |
double |
threshold
The score is compared against this value to make predictions; default LinearThresholdUnit.defaultThreshold. |
SparseWeightVector |
weightVector
The LTU's weight vector; default is an empty vector. |
| Constructor Summary | |
|---|---|
LinearThresholdUnit.Parameters()
Sets all the default values. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public SparseWeightVector weightVector
public double initialWeight
LinearThresholdUnit.defaultInitialWeight.
public double threshold
LinearThresholdUnit.defaultThreshold.
public double thickness
positiveThickness and
negativeThickness; default
LinearThresholdUnit.defaultThickness.
public double positiveThickness
public double negativeThickness
| Constructor Detail |
|---|
public LinearThresholdUnit.Parameters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||