Skip to main content

Bayesian Hessian Approximation for Stochastic Optimization

Project description

The BayHess package uses noisy curvature pairs (noisy gradient differences computed at different points) to compute Hessian approximations. These Hessian approximations can be used to accelerate the convergence in stochastic optimization in a quasi-Newton fashion. To find a Hessian approximation, a posterior distribution of the Hessian is built. The prior distribution is based on the Frobenius norm with determinant constraints to impose extreme eigenvalues constraints and the likelihood distribution is built from the secant equations given the observed curvature pairs. To find the maximizer of the log posterior, the BayHess package uses the Newton-CG method with a homotopy approach to deal with the logarithmic barrier determinant constraints.

For a detailed description of the method, convergence analysis and numerical results, check our manuscript named “Approximating Hessian matrices using Bayesian inference: a new approach for quasi-Newton methods in stochastic optimization”. This package can be used with the MICE estimator.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bayhess-0.1.5.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

bayhess-0.1.5-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file bayhess-0.1.5.tar.gz.

File metadata

  • Download URL: bayhess-0.1.5.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.10

File hashes

Hashes for bayhess-0.1.5.tar.gz
Algorithm Hash digest
SHA256 ce8fa86083b894997cfe4e8dd145bae5d6b46ff2e195af2848efc7e57c71dd2d
MD5 252ad9717cc051e22845aee03dcc0433
BLAKE2b-256 9efe9273a3b0f0ae7e7f6375327c76ccfc7302f5c3abdeeba4c381389e310585

See more details on using hashes here.

File details

Details for the file bayhess-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: bayhess-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 24.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.10

File hashes

Hashes for bayhess-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 987168e6749c2e86407fcb02967bdb3443c21eec7fd9c91b500de1fb21b60ce6
MD5 4c43ed1b0e424a94aa9814fa04e651ec
BLAKE2b-256 a19e26011b76da8f5aaa690a3c9b74257c153db0583d3237f3b4315a60976a26

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page