-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
API discussionDefinition of API and discussionDefinition of API and discussion
Description
Discussion for an optimal minimizer interface to be used for likelihood (-like) minimization tasks.
Questions
Statefullness
Should the minimizer be stateful or not or both (e.g. within a context)? A stateful minimizer has the advantage of enabling a simple way of fine-grained minimization control which alternatively has to be done via arguments to the minimize function. However, it requires to create a new minimizer for every minimization and the minimization procedure cannot be simply replicated (while if it's stateless, it's always a simple call to minimize).
API
minimize(loss, params)
minimize the loss fully using the given params. Return a FitResult.
minimize_step
minimize a single step, can be not implemented.
Returned result
What is the best result to be returned? a FitResult, but maybe just a minimal API is fine?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
API discussionDefinition of API and discussionDefinition of API and discussion