{"id":13688813,"url":"https://github.com/microprediction/humpday","last_synced_at":"2025-05-16T17:02:47.861Z","repository":{"id":43690239,"uuid":"306723026","full_name":"microprediction/humpday","owner":"microprediction","description":"Elo ratings for global black box derivative-free optimizers","archived":false,"fork":false,"pushed_at":"2025-02-06T19:14:16.000Z","size":3397,"stargazers_count":140,"open_issues_count":29,"forks_count":20,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-15T16:03:51.928Z","etag":null,"topics":["blackbox-optimization","blackbox-optimizer","derivative-free-optimization","global-optimizers","python-optimizer","zeroth-order-optimization"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microprediction.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-23T18:58:25.000Z","updated_at":"2025-04-14T17:15:13.000Z","dependencies_parsed_at":"2024-01-21T03:23:37.703Z","dependency_job_id":"a3cafff8-0b57-4676-a0ba-f45f0f1672cd","html_url":"https://github.com/microprediction/humpday","commit_stats":{"total_commits":268,"total_committers":6,"mean_commits":"44.666666666666664","dds":0.4402985074626866,"last_synced_commit":"7483b46a96a6b82a865dcf368f2c12c4f3268e28"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microprediction%2Fhumpday","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microprediction%2Fhumpday/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microprediction%2Fhumpday/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microprediction%2Fhumpday/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microprediction","download_url":"https://codeload.github.com/microprediction/humpday/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254374537,"owners_count":22060614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blackbox-optimization","blackbox-optimizer","derivative-free-optimization","global-optimizers","python-optimizer","zeroth-order-optimization"],"created_at":"2024-08-02T15:01:23.587Z","updated_at":"2025-05-16T17:02:47.841Z","avatar_url":"https://github.com/microprediction.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# humpday derivative-free optimizers ([docs](https://microprediction.github.io/humpday/) and  [Elo ratings](https://microprediction.github.io/optimizer-elo-ratings/html_leaderboards/overall.html)) ![tests](https://github.com/microprediction/humpday/workflows/tests/badge.svg) ![nlopt](https://github.com/microprediction/humpday/workflows/test-nlopt/badge.svg) ![ax-platform](https://github.com/microprediction/humpday/workflows/test-ax/badge.svg) ![py-bobyqa](https://github.com/microprediction/humpday/workflows/test-bobyqa/badge.svg) ![dlib](https://github.com/microprediction/humpday/workflows/test-dlib/badge.svg) ![hyperopt](https://github.com/microprediction/humpday/workflows/test-hyperopt/badge.svg) ![pySOT](https://github.com/microprediction/humpday/workflows/test-pySOT/badge.svg) ![skopt](https://github.com/microprediction/humpday/workflows/test-skopt/badge.svg)![hebo](https://github.com/microprediction/humpday/workflows/test-hebo/badge.svg) ![nevergrad](https://github.com/microprediction/humpday/workflows/test-nevergrad/badge.svg) ![nevergrad (GitHub)](https://github.com/microprediction/humpday/workflows/test-nevergrad-github/badge.svg) ![optuna](https://github.com/microprediction/humpday/workflows/test-optuna/badge.svg) ![bayesopt](https://github.com/microprediction/humpday/workflows/test-bayesopt/badge.svg) ![platypus](https://github.com/microprediction/humpday/workflows/test-platypus/badge.svg) ![pymoo](https://github.com/microprediction/humpday/workflows/test-pymoo/badge.svg) ![ultraopt](https://github.com/microprediction/humpday/workflows/test-ultraopt/badge.svg) ![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)\n\n## Deriv-free optimizers in a common syntax, with evaluation\n\n1. There's a [colab notebook](https://github.com/microprediction/humpday/blob/main/black_box_optimization_package_recommender.ipynb) that recommends a black-box derivative-free optimizer for your objective function. \n\n2. About fifty strategies drawn from various open source packages are assigned [Elo ratings](https://microprediction.github.io/optimizer-elo-ratings/html_leaderboards/overall.html) depending on dimension of the problem and number of function evaluations allowed. \n \nHello and welcome to HumpDay, a package that helps you choose a Python global optimizer package, and strategy therein, from [Ax-Platform](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/axcube.py), [bayesian-optimization](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/bayesoptcube.py), [DLib](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/dlibcube.py), [HyperOpt](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/hyperoptcube.py), [NeverGrad](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/nevergradcube.py), [Optuna](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/optunacube.py), [Platypus](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/platypuscube.py), [PyMoo](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/pymoocube.py), [PySOT](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/pysotcube.py), Scipy [classic](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/scipycube.py) and [shgo](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/shgocube.py), [Skopt](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/skoptcube.py),\n[nlopt](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/nloptcube.py), [Py-Bobyaq](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/bobyqacube.py), \n[UltraOpt](https://github.com/microprediction/humpday/blob/main/humpday/optimizers/ultraoptcube.py) and maybe others by the time you read this. It also presents *some* of their functionality in a common calling syntax.  \n \n### Cite or be cited\nPull requests at [CITE.md](https://github.com/microprediction/humpday/blob/main/CITE.md) are welcome. If your package is benchmarked here I'd like to get this bit right.  \n \n### Install\n\nSee [INSTALL.md](https://github.com/microprediction/humpday/blob/main/INSTALL.md)\n\nShort version:\n\n    pip install humpday\n    pip install humpday[full]\n\n## Recommendations\n\nPass the dimensions of the problem, function evaluation budget and\n time budget to receive [suggestions](https://github.com/microprediction/humpday/blob/main/humpday/comparison/suggestions.py) that are independent of your problem set,\n \n        from pprint import pprint \n        from humpday import suggest\n        pprint(suggest(n_dim=5, n_trials=130,n_seconds=5*60))\n        \nwhere *n_seconds* is the total computation budget for the optimizer (not the objective function) over all 130 function evaluations. Or simply pass your objective function, and it will time it and do something sensible:\n     \n        from humpday import recommend\n    \n        def my_objective(u):\n            time.sleep(0.01)\n            return u[0]*math.sin(u[1])\n\n        recommendations = recommend(my_objective, n_dim=21, n_trials=130)\n\n## Points race\n        \nIf you have more time, call [points_race](https://github.com/microprediction/humpday/blob/main/humpday/comparison/odious.py) on a list of your own objective functions:\n\n        from humpday import points_race\n        points_race(objectives=[my_objective]*2,n_dim=5, n_trials=100)\n        \nSee the [colab notebook](https://github.com/microprediction/humpday/blob/main/black_box_optimization_package_recommender.ipynb).\n\n## How it works \n\nIn the background, 50+ strategies are assigned [Elo ratings](https://github.com/microprediction/optimizer-elo-ratings/tree/main/results/leaderboards) by sister repo [optimizer-elo-ratings](https://github.com/microprediction/optimizer-elo-ratings). Oh I said that already. Never mind. \n\n## Contribute\n\nBy all means contribute more to [optimizers](https://github.com/microprediction/humpday/tree/main/humpday/optimizers). \n\n\n![](https://i.imgur.com/FCiSrMQ.png)\n \n\n    \n## Articles \n\n- (most recent) [HumpDay: A Package to Take the Pain Out of Choosing a Python Optimizer](https://www.microprediction.com/blog/humpday). \n- [Comparing Python Global Optimizers](https://www.microprediction.com/blog/optimize).\n\n## Other comparison tools\n\n- [FelooPy](https://github.com/ktafakkori/feloopy)\n- [qpsolvers](https://qpsolvers.github.io/qpsolvers/supported-solvers.html#) for QP\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicroprediction%2Fhumpday","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicroprediction%2Fhumpday","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicroprediction%2Fhumpday/lists"}