Interface IterationCompletionListener

  • All Known Implementing Classes:
    EvaluationListener, TestSetIterationCallback

    public interface IterationCompletionListener
    Callback that should be triggered when a iteration was finished.
    Author:
    thomas.jungblut
    • Method Detail

      • onIterationFinished

        void onIterationFinished​(int iteration,
                                 double cost,
                                 de.jungblut.math.DoubleVector currentWeights)
        This callback is called from a AbstractMinimizer when a iteration of a minimization objective is finished.
        Parameters:
        iteration - the number of the current iteration.
        cost - the cost at the current iteration.
        currentWeights - the current optimal weights.