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