Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Python/Cython wrapper for liblbfgs

License

NotificationsYou must be signed in to change notification settings

larsmans/pylbfgs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyLBFGS

This is a Python wrapper around Naoaki Okazaki (chokkan)'sliblbfgs libraryof quasi-Newton optimization routines (limited memory BFGS and OWL-QN).

This package aims to provide a cleaner interface to the LBFGS algorithmthan is currently available inSciPy,and to provide the OWL-QN algorithm to Python users.

To build PyLBFGS, runpython setup.py build_ext.

Installing

PyLBFGS is written inCython and requiressetuptools,NumPy, liblbfgs anda relatively recent Cython compiler to build (tested with 0.15.1).

Type:

python setup.py install

(optionally prefixed withsudo) 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 haveNose installed, and type:

nosetests tests/

Authors

PyLBFGS was written by Lars Buitinck.

Alexis Mignon submitted a patch for error handling.

About

Python/Cython wrapper for liblbfgs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp