paraqeet.differentiable.Differentiable#
- class paraqeet.differentiable.Differentiable[source]#
Bases:
ABCAn abstract class for differentiable models.
Subclasses must implement the value_and_gradient() method which would return the gradient of the model.
- __init__()#
Methods
__init__()get_value_and_gradient(times)Calculate the gradient of the model.