public interface ParallelizableCostFunction extends SupervisedCostFunction<Vector,Vector>, DifferentiableCostFunction
Modifier and Type | Method and Description |
---|---|
Vector |
computeParameterGradientAmalgamate(java.util.Collection<java.lang.Object> partialResults)
Amalgamates the linear components of the cost gradient function into a
single Vector.
|
java.lang.Object |
computeParameterGradientPartial(GradientDescendable function)
Computes the partial (linear) component of the cost function gradient.
|
java.lang.Double |
evaluateAmalgamate(java.util.Collection<java.lang.Object> partialResults)
Amalgamates the linear components of the cost function into a single
Double.
|
java.lang.Object |
evaluatePartial(Evaluator<? super Vector,? extends Vector> evaluator)
Computes the partial (linear) component of the cost function.
|
computeParameterGradient
clone, evaluate, getCostParameters, setCostParameters
summarize
evaluatePerformance
evaluatePerformance
java.lang.Object evaluatePartial(Evaluator<? super Vector,? extends Vector> evaluator)
evaluator
- Evaluator to compute the cost ofjava.lang.Double evaluateAmalgamate(java.util.Collection<java.lang.Object> partialResults)
partialResults
- Collection of partial (linear) resultsjava.lang.Object computeParameterGradientPartial(GradientDescendable function)
function
- GradientDescendable to compute the gradient ofVector computeParameterGradientAmalgamate(java.util.Collection<java.lang.Object> partialResults)
partialResults
- Collection of partial (linear) gradient components