Skip to main content

Bespoke Python bindings for the Ensmallen library.

Project description

pyensmallen: python bindings for the ensmallen library for numerical optimization

Very minimal python bindings for ensmallen library. Currently supports

  • L-BFGS, with intended use for optimisation of smooth objectives for m-estimation
  • ADAM (and variants with different step-size routines) - makes use of ensmallen's templatization.
  • Frank-Wolfe, with intended use for constrained optimization of smooth losses

See ensmallen docs for details.

Installation:

from pypi

pip install pyensmallen

from source

  1. Install armadillo and ensmallen for your system (build from source, or via conda-forge; I went with the latter)
  2. git clone this repository
  3. pip install -e .
  4. Profit? Or at least minimize loss?

from wheel

  • download the appropriate .whl for your system from the more recent release listed in Releases and run pip install ./pyensmallen... OR
  • copy the download url and run pip install https://github.com/apoorvalal/pyensmallen/releases/download/<version>/pyensmallen-<version>-<pyversion>-linux_x86_64.whl

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pyensmallen-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.8 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pyensmallen-0.0.2-cp312-cp312-macosx_11_0_arm64.whl (8.8 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pyensmallen-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.8 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pyensmallen-0.0.2-cp311-cp311-macosx_11_0_arm64.whl (8.8 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pyensmallen-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.8 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pyensmallen-0.0.2-cp310-cp310-macosx_11_0_arm64.whl (8.8 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

File details

Details for the file pyensmallen-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyensmallen-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2fb23e93597f9896b10c9f4b0049e16c1a33f5edc02e53036aa6abbaf670fbe2
MD5 49e36b60d9ed9850d0ea2bc12a81cba5
BLAKE2b-256 1df15c8b6157df1a33bed7d2f3cacf41899d39336ec052f1783f260852b71b6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyensmallen-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build.yml on apoorvalal/pyensmallen

Attestations:

File details

Details for the file pyensmallen-0.0.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyensmallen-0.0.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 75324b24adc137602fbc124a0c170b5f3035271864a7c104bd703dd693404811
MD5 45688ff710c720f0ecd4060761c46e30
BLAKE2b-256 2ff27f712dcba1e3563f27516e48898c07cc54630ed3be44a4b94aaa2580f9ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyensmallen-0.0.2-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: build.yml on apoorvalal/pyensmallen

Attestations:

File details

Details for the file pyensmallen-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyensmallen-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6ce82e0bc4e30b739aaeba78f43ee0177c4fab346631a2a504a6ea6b1f844efe
MD5 f63885d316bb788ed1bb9b1b41cfe1a0
BLAKE2b-256 5668281779f588f0e5223c84b946873856562d1f4d5ccc3dcd35ad135c16ef75

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyensmallen-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build.yml on apoorvalal/pyensmallen

Attestations:

File details

Details for the file pyensmallen-0.0.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyensmallen-0.0.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 acece94bd16336bccb879f992174e60c33464c82ec7ace69c46d55592ef8c8f5
MD5 6d4d0e26293050aac51b94da55b1764d
BLAKE2b-256 c8af9783d81b8f2ef5b3cdaab3190ae0b7bd933988974cc805bef1a093a2b167

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyensmallen-0.0.2-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build.yml on apoorvalal/pyensmallen

Attestations:

File details

Details for the file pyensmallen-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyensmallen-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b8d52d02339d46affbddcce5293a4fc1481771a7f78b8ca2f6d299a90044342f
MD5 3595c13bc6541c1fe9691e5ee781cf8d
BLAKE2b-256 494f1e33d155bc383a33f7bb20ab0123512d2dab0fd9c3fc31fdd6707e3a1d36

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyensmallen-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build.yml on apoorvalal/pyensmallen

Attestations:

File details

Details for the file pyensmallen-0.0.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyensmallen-0.0.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6b23aa83df301bfcc1f8affad190bca8f180c619e16d51d95ba0000aa9b6b7df
MD5 1bbdf1e523777a713d5bba1354e7f8b3
BLAKE2b-256 5eccbe6a34a91ce486413efd021454f2eab6cacb04e7f5fcfe0f0c40f8fe2c10

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyensmallen-0.0.2-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: build.yml on apoorvalal/pyensmallen

Attestations:

Supported by

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