LBFGSCallbackData

scalation.optimization.quasi_newton.LBFGSCallbackData
case class LBFGSCallbackData(n: Int, instance: Any, evaluationLogic: EvaluationLogic)

The LBFGSCallbackData case class is used to group together the EvaluationLogic specified for a L-BFGS optimization done by the LBFGS object with values that are the parameters for the methods of the EvaluationLogic. This allows the user to pass the optimization logic of the L-BFGS optimization as a parameter to different methods and classes while retaining the ability to callback the methods of said logic with the correct parameters.

Value parameters

evaluationLogic

EvaluationLogic that describes the optimization steps for the L-BFGS optimization done by the LBFGS object.

instance

User data provided for a given call of the L-BFGS optimization done by lbfgsMain on the LBFGS object. Can have Any type defined by the user as long as it is the same one expected by the optimizationLogic parameter.

n

The number of variables used in the optimization.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product