public class NegLogLikelihood extends Object implements Function
| Constructor and Description |
|---|
NegLogLikelihood(DataIndexer indexer) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDimension() |
double[] |
getInitialPoint() |
double[] |
gradientAt(double[] x)
Compute gradient
|
double |
valueAt(double[] x)
Negative log-likelihood
|
public NegLogLikelihood(DataIndexer indexer)
public int getDimension()
getDimension in interface Functionpublic double[] getInitialPoint()
public double valueAt(double[] x)
public double[] gradientAt(double[] x)
gradientAt in interface FunctionCopyright © 2017 The Apache Software Foundation. All rights reserved.