public class NegLogLikelihood extends java.lang.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 Function
public double[] getInitialPoint()
public double valueAt(double[] x)
public double[] gradientAt(double[] x)
gradientAt
in interface Function
Copyright © 2010 - 2020 Adobe. All Rights Reserved