Skip to content

O1NumHess is a Python library designed to compute Hessian matrices with O(1) time complexity

License

Notifications You must be signed in to change notification settings

ilcpm/O1NumHess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

O1NumHess

Calculate the seminumerical Hessian of an arbitrary N-variable function using only O(1) gradients, by assuming the Hessian has the off-diagonal low rank (ODLR) property.

Details of the O1NumHess algorithm, as well as preliminary benchmark results, can be found in our paper: JCTC 2025, 21, 10893, arXiv

usage:

python3 setup.py install

Note that the above command installs the package for all users, and requires root privileges. If the user does not have access to root privileges, or if it is not desired to install the package for all users, then one should use the following command instead:

python3 setup.py install --prefix ~/.local

About

O1NumHess is a Python library designed to compute Hessian matrices with O(1) time complexity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages