Interface CostFunction

    • Method Detail

      • evaluateCost

        CostGradientTuple evaluateCost​(de.jungblut.math.DoubleVector input)
        Evaluation for the cost function to retrieve cost and gradient.
        Parameters:
        input - a given input vector
        Returns:
        a tuple consists of J (cost) and a vector X which is the gradient of the input.