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 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...
  • copy the download url and run pip install https://github.com/apoorvalal/pyensmallen/releases/download/<version>/pyensmallen-<version>-<pyversion>-linux_x86_64.whl

Will likely be uploaded to pypi once we've ironed out a few rough edges.

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.1-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.1-cp312-cp312-macosx_11_0_arm64.whl (8.8 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pyensmallen-0.0.1-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.1-cp311-cp311-macosx_11_0_arm64.whl (8.8 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pyensmallen-0.0.1-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.1-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.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyensmallen-0.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f8a3784c76ec21e35e7d4253b6efdd5c24e54d50f342500247b47f02b876235
MD5 ef5d41454ed9efed4b46cc7a9aab18ac
BLAKE2b-256 b8afad2a876715a66d69fc55fe53b9ae5c67f7587bb33da16a52492b0db36736

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyensmallen-0.0.1-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.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyensmallen-0.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a94b3d8b5009808741313216ef7f5f4f56e546cc9955da8e6a125cd57e461846
MD5 43ea39156c11982ca71723e0d8e2c1c2
BLAKE2b-256 a31aed6ffb51825bc64704dcca2a5fbc47ef6eb4db65b0e5ea18b43217f3ac6e

See more details on using hashes here.

Provenance

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

Publisher: build.yml on apoorvalal/pyensmallen

Attestations:

File details

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

File metadata

File hashes

Hashes for pyensmallen-0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d7e3fef358e50e8c72558152290f4cbcc96d88ac64c4a86e56d0e89f3ff2b277
MD5 587b0882a12e163c7704b46741a437aa
BLAKE2b-256 e00b35c3c59ee85f503a02c093088ad0ccf4cadbc310e5cc16ca97ae3abe77ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyensmallen-0.0.1-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.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyensmallen-0.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 66fd8b4a24a1aa57fc1d43415dfa9e0531145838862f24c1f8db534067b60373
MD5 ec7a7384348175695054814e4e14d69b
BLAKE2b-256 caa7be41da6eebf8c1c464b9d32ea70f9e57d7969732c3d9c7e65c168cae13b5

See more details on using hashes here.

Provenance

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

Publisher: build.yml on apoorvalal/pyensmallen

Attestations:

File details

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

File metadata

File hashes

Hashes for pyensmallen-0.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f7afbb7ce3c2e1dee935d7b4e74560241bb99c7eb40a397ce77071d5e70e5ed0
MD5 5ab81c56ba331d9eb11e0600be524f06
BLAKE2b-256 a81d28c2db354d7e0dac76984a344f571534aaeafe69735d8e697357c3df2d5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyensmallen-0.0.1-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.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyensmallen-0.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 763212ccde33f66e75aa0de6c6d55b7343581792f5f73c643c0faf1c5ac64d41
MD5 f858117a63b66079c583fd121d7e26ea
BLAKE2b-256 74c8fac0c3f7bed669ace163cd661fc6b1511b26981e014bf83617d60edc3d3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyensmallen-0.0.1-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