Class ParallelNegLogLikelihood

  • All Implemented Interfaces:
    Function

    public class ParallelNegLogLikelihood
    extends NegLogLikelihood
    Evaluate negative log-likelihood and its gradient in parallel
    • Constructor Detail

      • ParallelNegLogLikelihood

        public ParallelNegLogLikelihood​(DataIndexer indexer,
                                        int threads)
        Parameters:
        indexer - The DataIndexer to use as input provider.
        threads - The number of thread to compute with in parallel. Must be greater than 0.
        Throws:
        IllegalArgumentException - Thrown if parameters were invalid.