LBFGS and OWL-QN optimization algorithms
Project description
PyLBFGS
This is a Python wrapper around Naoaki Okazaki (chokkan)’s liblbfgs library of quasi-Newton optimization routines (limited memory BFGS and OWL-QN).
This package aims to provide a cleaner interface to the LBFGS algorithm than is currently available in SciPy, and to provide the OWL-QN algorithm to Python users.
To build PyLBFGS, run python setup.py build_ext.
Installing
PyLBFGS is written in Cython and requires setuptools, NumPy, liblbfgs and a relatively recent Cython compiler to build (tested with 0.15.1).
Type:
python setup.py install
(optionally prefixed with sudo) to build and install PyLBFGS.
Hacking
Type:
python setup.py build_ext -i
to build PyLBFGS in-place, i.e. without installing it.
To run the test suite, make sure you have Nose installed, and type:
nosetests tests/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file PyLBFGS-0.1.tar.gz
.
File metadata
- Download URL: PyLBFGS-0.1.tar.gz
- Upload date:
- Size: 63.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63db3a7e5d5052e2071d4fca51c7a8c515378aa4f0d36fbe1b59d7746500f40c |
|
MD5 | 335ca1df7ee1ebad8eeebc6860eb6be5 |
|
BLAKE2b-256 | 72c2affd7a1134ae3cf6bd8e65802eb0cf9e55a7f351071c16b3558edb98b35c |
File details
Details for the file PyLBFGS-0.1-py2.7-linux-x86_64.egg
.
File metadata
- Download URL: PyLBFGS-0.1-py2.7-linux-x86_64.egg
- Upload date:
- Size: 124.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea57146973cfa38b227555e6d1ba425fe670c15927c23eb4a35fe0c0154aa46a |
|
MD5 | 5d563b42b6aab5eed2d67b712d265235 |
|
BLAKE2b-256 | 4ca1934971861969513b5f84e922b26303c081268bdd84d8bfdd2f6c05a80b62 |