Skip to main content

A software framework for HyperParameters Optimization

Project description

alt text PyPI version shields.io PyPI license Documentation Status GitHub latest commit Maintainer

Zellij is an open source Python framework for HyperParameter Optimization (HPO) which was orginally dedicated to Fractal Decomposition based algorithms [1] [2]. It includes tools to define mixed search space, manage objective functions, and a few algorithms. To implements metaheuristics and other optimization methods, Zellij uses DEAP[3] for the Evolutionary Algorithms part and BoTorch [4] for Bayesian Optimization. Zellij is defined as an easy to use and modular framework, based on Python object oriented paradigm.

See documentation.

Install Zellij

Original version

$ pip install zellij

Distributed Zellij

This version requires a MPI library, such as MPICH or Open MPI. It is based on mpi4py

$ pip install zellij[mpi]

User will then be able to use the MPI option of the Loss decorator.

@Loss(MPI=True)

Then the python script must be executed using mpiexec:

$ mpiexec -machinefile <path/to/hostfile> -n <number of processes> python3 <path/to/python/script>

Dependencies

Original version

MPI version

Contributors

Design

References

[1] Nakib, A., Ouchraa, S., Shvai, N., Souquet, L. & Talbi, E.-G. Deterministic metaheuristic based on fractal decomposition for large-scale optimization. Applied Soft Computing 61, 468–485 (2017).

[2] Demirhan, M., Özdamar, L., Helvacıoğlu, L. & Birbil, Ş. I. FRACTOP: A Geometric Partitioning Metaheuristic for Global Optimization. Journal of Global Optimization 14, 415–436 (1999).

[3] Félix-Antoine Fortin, François-Michel De Rainville, Marc-André Gardner, Marc Parizeau and Christian Gagné, "DEAP: Evolutionary Algorithms Made Easy", Journal of Machine Learning Research, vol. 13, pp. 2171-2175, jul 2012.

[4] M. Balandat, B. Karrer, D. R. Jiang, S. Daulton, B. Letham, A. G. Wilson, and E. Bakshy. BoTorch: A Framework for Efficient Monte-Carlo Bayesian Optimization. Advances in Neural Information Processing Systems 33, 2020.

Project details


Download files

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

Source Distribution

zellij-1.0.1.tar.gz (79.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zellij-1.0.1-py3-none-any.whl (97.2 kB view details)

Uploaded Python 3

File details

Details for the file zellij-1.0.1.tar.gz.

File metadata

  • Download URL: zellij-1.0.1.tar.gz
  • Upload date:
  • Size: 79.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for zellij-1.0.1.tar.gz
Algorithm Hash digest
SHA256 72f6f3858105fe7ab0f4bf68e3b13766796ae40e05e60cc90611702226dce2df
MD5 53c57eff6a89da1b929085d8e0b52bd3
BLAKE2b-256 890df3ddbc85d0b2d81ab1452f77abeded880a592dcf218802a1ecf44acfcb23

See more details on using hashes here.

File details

Details for the file zellij-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: zellij-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 97.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for zellij-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d15009097a0461e36ed6bb086c22f08d80eef2460d7e0c9fceea559047742ef
MD5 bc06e35965468a393aab8407371441ef
BLAKE2b-256 9d6451498f0fa3cb582f1d252094e39d4eb054d3cf6bfbc024a71a25535713fb

See more details on using hashes here.

Supported by

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