public static class LineSearch.LineSearchResult
extends java.lang.Object
Constructor and Description |
---|
LineSearchResult(double stepSize,
double valueAtCurr,
double valueAtNext,
double[] gradAtCurr,
double[] gradAtNext,
double[] pseudoGradAtNext,
double[] currPoint,
double[] nextPoint,
double[] signVector,
int fctEvalCount)
Constructor with sign vector
|
LineSearchResult(double stepSize,
double valueAtCurr,
double valueAtNext,
double[] gradAtCurr,
double[] gradAtNext,
double[] currPoint,
double[] nextPoint,
int fctEvalCount)
Constructor
|
Modifier and Type | Method and Description |
---|---|
double[] |
getCurrPoint() |
int |
getFctEvalCount() |
double |
getFuncChangeRate() |
double[] |
getGradAtCurr() |
double[] |
getGradAtNext() |
static LineSearch.LineSearchResult |
getInitialObject(double valueAtX,
double[] gradAtX,
double[] x)
Initial linear search object
|
static LineSearch.LineSearchResult |
getInitialObject(double valueAtX,
double[] gradAtX,
double[] pseudoGradAtX,
double[] x,
double[] signX,
int fctEvalCount) |
static LineSearch.LineSearchResult |
getInitialObjectForL1(double valueAtX,
double[] gradAtX,
double[] pseudoGradAtX,
double[] x)
Initial linear search object for L1-regularization
|
double[] |
getNextPoint() |
double[] |
getPseudoGradAtNext() |
double[] |
getSignVector() |
double |
getStepSize() |
double |
getValueAtCurr() |
double |
getValueAtNext() |
void |
setAll(double stepSize,
double valueAtCurr,
double valueAtNext,
double[] gradAtCurr,
double[] gradAtNext,
double[] pseudoGradAtNext,
double[] currPoint,
double[] nextPoint,
double[] signVector,
int fctEvalCount)
Update line search elements
|
void |
setAll(double stepSize,
double valueAtCurr,
double valueAtNext,
double[] gradAtCurr,
double[] gradAtNext,
double[] currPoint,
double[] nextPoint,
int fctEvalCount)
Update line search elements
|
void |
setCurrPoint(double[] currPoint) |
void |
setFctEvalCount(int fctEvalCount) |
void |
setGradAtCurr(double[] gradAtCurr) |
void |
setGradAtNext(double[] gradAtNext) |
void |
setNextPoint(double[] nextPoint) |
void |
setPseudoGradAtNext(double[] pseudoGradAtNext) |
void |
setSignVector(double[] signVector) |
void |
setStepSize(double stepSize) |
void |
setValueAtCurr(double valueAtCurr) |
void |
setValueAtNext(double valueAtNext) |
public LineSearchResult(double stepSize, double valueAtCurr, double valueAtNext, double[] gradAtCurr, double[] gradAtNext, double[] currPoint, double[] nextPoint, int fctEvalCount)
public LineSearchResult(double stepSize, double valueAtCurr, double valueAtNext, double[] gradAtCurr, double[] gradAtNext, double[] pseudoGradAtNext, double[] currPoint, double[] nextPoint, double[] signVector, int fctEvalCount)
public void setAll(double stepSize, double valueAtCurr, double valueAtNext, double[] gradAtCurr, double[] gradAtNext, double[] currPoint, double[] nextPoint, int fctEvalCount)
public void setAll(double stepSize, double valueAtCurr, double valueAtNext, double[] gradAtCurr, double[] gradAtNext, double[] pseudoGradAtNext, double[] currPoint, double[] nextPoint, double[] signVector, int fctEvalCount)
public double getFuncChangeRate()
public double getStepSize()
public void setStepSize(double stepSize)
public double getValueAtCurr()
public void setValueAtCurr(double valueAtCurr)
public double getValueAtNext()
public void setValueAtNext(double valueAtNext)
public double[] getGradAtCurr()
public void setGradAtCurr(double[] gradAtCurr)
public double[] getGradAtNext()
public void setGradAtNext(double[] gradAtNext)
public double[] getPseudoGradAtNext()
public void setPseudoGradAtNext(double[] pseudoGradAtNext)
public double[] getCurrPoint()
public void setCurrPoint(double[] currPoint)
public double[] getNextPoint()
public void setNextPoint(double[] nextPoint)
public double[] getSignVector()
public void setSignVector(double[] signVector)
public int getFctEvalCount()
public void setFctEvalCount(int fctEvalCount)
public static LineSearch.LineSearchResult getInitialObject(double valueAtX, double[] gradAtX, double[] x)
public static LineSearch.LineSearchResult getInitialObjectForL1(double valueAtX, double[] gradAtX, double[] pseudoGradAtX, double[] x)
public static LineSearch.LineSearchResult getInitialObject(double valueAtX, double[] gradAtX, double[] pseudoGradAtX, double[] x, double[] signX, int fctEvalCount)
Copyright © 2010 - 2020 Adobe. All Rights Reserved