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 Function
public double[] getInitialPoint()
public double valueAt(double[] x)
public double[] gradientAt(double[] x)
gradientAt
in interface Function
Copyright © 2015 The Apache Software Foundation. All rights reserved.