gov.sandia.cognition.learning.function.cost
Class ParallelNegativeLogLikelihood.NegativeLogLikelihoodTask<DataType>

java.lang.Object
  extended by gov.sandia.cognition.learning.function.cost.ParallelNegativeLogLikelihood.NegativeLogLikelihoodTask<DataType>
Type Parameters:
DataType -
All Implemented Interfaces:
Callable<Double>
Enclosing class:
ParallelNegativeLogLikelihood<DataType>

protected static class ParallelNegativeLogLikelihood.NegativeLogLikelihoodTask<DataType>
extends Object
implements Callable<Double>

Task for computing partial log likelihoods


Field Summary
protected  ProbabilityFunction<DataType> probabilityFunction
          Probability function to compute the log likelihood
 
Constructor Summary
ParallelNegativeLogLikelihood.NegativeLogLikelihoodTask(Collection<? extends DataType> data)
          Creates a new instance of NegativeLogLikelihoodTask
 
Method Summary
 Double call()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

probabilityFunction

protected ProbabilityFunction<DataType> probabilityFunction
Probability function to compute the log likelihood

Constructor Detail

ParallelNegativeLogLikelihood.NegativeLogLikelihoodTask

public ParallelNegativeLogLikelihood.NegativeLogLikelihoodTask(Collection<? extends DataType> data)
Creates a new instance of NegativeLogLikelihoodTask

Parameters:
data - Partial Data
Method Detail

call

public Double call()
            throws Exception
Specified by:
call in interface Callable<Double>
Throws:
Exception