|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.core.Optimization
weka.classifiers.functions.Logistic.OptEng
Field Summary | |
private int[] |
cls
|
private double[] |
weights
|
Fields inherited from class weka.core.Optimization |
m_ALF, m_BETA, m_Debug, m_Epsilon, m_f, m_MAXITS, m_STPMX, m_TOLX, m_Zero |
Constructor Summary | |
private |
Logistic.OptEng()
|
Method Summary | |
protected double[] |
evaluateGradient(double[] x)
Evaluate Jacobian vector |
protected double |
objectiveFunction(double[] x)
Evaluate objective function |
void |
setClassLabels(int[] c)
|
void |
setWeights(double[] w)
|
Methods inherited from class weka.core.Optimization |
evaluateHessian, findArgmin, getMinFunction, getVarbValues, lnsrch, setDebug, setMaxIteration, solveTriangle, updateCholeskyFactor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private double[] weights
private int[] cls
Constructor Detail |
private Logistic.OptEng()
Method Detail |
public void setWeights(double[] w)
public void setClassLabels(int[] c)
protected double objectiveFunction(double[] x)
objectiveFunction
in class Optimization
x
- the current values of variables
protected double[] evaluateGradient(double[] x)
evaluateGradient
in class Optimization
x
- the current values of variables
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |