|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfunction.BasicScalarFunction
function.VariableDomainScalarFunction
diviner.BasicBoundConstrainedDiviner
diviner.ImprovementDiviner
diviner.RiskPerfTradeDiviner
public class RiskPerfTradeDiviner
BoundConstrainedDiviner that returns mean - k*stdDev. This can be
thought of as a statistical lower bound. Note the sign of k: a
positive value indicates that values returned will be lower than the mean.
Note: since the variable targetObjective is being misused this way,
the variable improvement is not usable. This implementation also
treats its ApproxModel as if it were a Gaussian Process regression.
| Field Summary |
|---|
| Fields inherited from class diviner.ImprovementDiviner |
|---|
improvement, postMean, postStdDev, scaledImprovement |
| Fields inherited from class function.BasicScalarFunction |
|---|
DEFAULT_BOUNDS, DEFAULT_DIM, VALUE_OUTSIDE_BOUNDS |
| Constructor Summary | |
|---|---|
RiskPerfTradeDiviner()
|
|
| Method Summary | |
|---|---|
double |
getK()
Returns the tradeoff factor between mean predictions and uncertainty. |
double |
quickCompute(double[] x)
Compute method without dimension checking. |
void |
setK(double k)
Sets the tradeoff factor between mean and standard deviation. |
| Methods inherited from class diviner.ImprovementDiviner |
|---|
evaluatePosterior, getTargetObjective, setTargetObjective |
| Methods inherited from class diviner.BasicBoundConstrainedDiviner |
|---|
getObjectiveModel, init, setObjectiveModel |
| Methods inherited from class function.VariableDomainScalarFunction |
|---|
getBounds, getInputDimension, setBounds, setInputDimension |
| Methods inherited from class function.BasicScalarFunction |
|---|
checkDimensions, compute, compute, compute, compute, compute, compute, getOutputDimension, isWithinBounds, makeBounds, quickCompute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface function.VariableBounds |
|---|
setBounds |
| Methods inherited from interface function.ScalarFunction |
|---|
compute, compute, compute, compute, quickCompute |
| Methods inherited from interface function.Computable |
|---|
compute, compute, getBounds, getInputDimension, getOutputDimension, isWithinBounds |
| Constructor Detail |
|---|
public RiskPerfTradeDiviner()
| Method Detail |
|---|
public double getK()
public void setK(double k)
k - the given k.public double quickCompute(double[] x)
BasicScalarFunction
quickCompute in interface ScalarFunctionquickCompute in class BasicScalarFunctionx - the given input.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||