Skip to content

Commit

Permalink
Speed improvement of GARCH model with Newton-CG instead of L-BFGS-B.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinbad-The-Sailor committed Feb 25, 2024
1 parent 9fe35fc commit 0047fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/abacus/models/garch.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _initiate_parameters(self):
def _solve_maximum_likelihood(self):
solution = minimize(self._cost_function,
self._inital_solution,
method="L-BFGS-B",
method="Newton-CG",
jac=True)
self._solution = solution

Expand Down

0 comments on commit 0047fa0

Please sign in to comment.