{"id":13633391,"url":"https://github.com/scikit-optimize/scikit-optimize","last_synced_at":"2025-09-30T07:30:48.501Z","repository":{"id":37623009,"uuid":"54340642","full_name":"scikit-optimize/scikit-optimize","owner":"scikit-optimize","description":"Sequential model-based optimization with a  `scipy.optimize` interface","archived":true,"fork":false,"pushed_at":"2024-02-23T07:05:22.000Z","size":9423,"stargazers_count":2753,"open_issues_count":318,"forks_count":550,"subscribers_count":63,"default_branch":"master","last_synced_at":"2025-01-15T15:49:52.817Z","etag":null,"topics":["bayesian-optimization","bayesopt","binder","hacktoberfest","hyperparameter","hyperparameter-optimization","hyperparameter-search","hyperparameter-tuning","machine-learning","optimization","scientific-computing","scientific-visualization","scikit-learn","sequential-recommendation","visualization"],"latest_commit_sha":null,"homepage":"https://scikit-optimize.github.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scikit-optimize.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-20T21:10:54.000Z","updated_at":"2025-01-13T12:39:06.000Z","dependencies_parsed_at":"2023-01-27T13:01:09.983Z","dependency_job_id":"b43e0abd-f5cb-450c-8316-2d43f71d6d47","html_url":"https://github.com/scikit-optimize/scikit-optimize","commit_stats":{"total_commits":1251,"total_committers":83,"mean_commits":"15.072289156626505","dds":0.7521982414068745,"last_synced_commit":"a2369ddbc332d16d8ff173b12404b03fea472492"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scikit-optimize%2Fscikit-optimize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scikit-optimize%2Fscikit-optimize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scikit-optimize%2Fscikit-optimize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scikit-optimize%2Fscikit-optimize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scikit-optimize","download_url":"https://codeload.github.com/scikit-optimize/scikit-optimize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234712861,"owners_count":18875523,"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":["bayesian-optimization","bayesopt","binder","hacktoberfest","hyperparameter","hyperparameter-optimization","hyperparameter-search","hyperparameter-tuning","machine-learning","optimization","scientific-computing","scientific-visualization","scikit-learn","sequential-recommendation","visualization"],"created_at":"2024-08-01T23:00:36.378Z","updated_at":"2025-09-30T07:30:43.150Z","avatar_url":"https://github.com/scikit-optimize.png","language":"Python","funding_links":[],"categories":["Optimization","\u003cspan id=\"head24\"\u003e3.2. Optimization\u003c/span\u003e","Profiling","Machine Learning Framework","参数优化","Hyperparameter Tuning","Scheduling","超参数优化和AutoML","Python","AutoML","Libraries","Machine Learning Frameworks","Machine Learning for Manufacturing"],"sub_categories":["Others","\u003cspan id=\"head25\"\u003e3.2.1. Metaheuristic\u003c/span\u003e","General Purpose Framework","NLP","Profiling","Bayesian Optimisation \u0026 Gaussian Processes"],"readme":"\n|Logo|\n\n|pypi| |conda| |Travis Status| |CircleCI Status| |binder| |gitter| |Zenodo DOI|\n\nScikit-Optimize\n===============\n\nScikit-Optimize, or ``skopt``, is a simple and efficient library to\nminimize (very) expensive and noisy black-box functions. It implements\nseveral methods for sequential model-based optimization. ``skopt`` aims\nto be accessible and easy to use in many contexts.\n\nThe library is built on top of NumPy, SciPy and Scikit-Learn.\n\nWe do not perform gradient-based optimization. For gradient-based\noptimization algorithms look at\n``scipy.optimize``\n`here \u003chttp://docs.scipy.org/doc/scipy/reference/optimize.html\u003e`_.\n\n.. figure:: https://github.com/scikit-optimize/scikit-optimize/blob/master/media/bo-objective.png\n   :alt: Approximated objective\n\nApproximated objective function after 50 iterations of ``gp_minimize``.\nPlot made using ``skopt.plots.plot_objective``.\n\nImportant links\n---------------\n\n-  Static documentation - `Static\n   documentation \u003chttps://scikit-optimize.github.io/\u003e`__\n-  Example notebooks - can be found in examples_.\n-  Issue tracker -\n   https://github.com/scikit-optimize/scikit-optimize/issues\n-  Releases - https://pypi.python.org/pypi/scikit-optimize\n\nInstall\n-------\n\nscikit-optimize requires\n\n* Python \u003e= 3.6\n* NumPy (\u003e= 1.13.3)\n* SciPy (\u003e= 0.19.1)\n* joblib (\u003e= 0.11)\n* scikit-learn \u003e= 0.20\n* matplotlib \u003e= 2.0.0\n\nYou can install the latest release with:\n::\n\n    pip install scikit-optimize\n\nThis installs an essential version of scikit-optimize. To install scikit-optimize\nwith plotting functionality, you can instead do:\n::\n\n    pip install 'scikit-optimize[plots]'\n\nThis will install matplotlib along with scikit-optimize.\n\nIn addition there is a `conda-forge \u003chttps://conda-forge.org/\u003e`_ package\nof scikit-optimize:\n::\n\n    conda install -c conda-forge scikit-optimize\n\nUsing conda-forge is probably the easiest way to install scikit-optimize on\nWindows.\n\n\nGetting started\n---------------\n\nFind the minimum of the noisy function ``f(x)`` over the range\n``-2 \u003c x \u003c 2`` with ``skopt``:\n\n.. code:: python\n\n    import numpy as np\n    from skopt import gp_minimize\n\n    def f(x):\n        return (np.sin(5 * x[0]) * (1 - np.tanh(x[0] ** 2)) +\n                np.random.randn() * 0.1)\n\n    res = gp_minimize(f, [(-2.0, 2.0)])\n\n\nFor more control over the optimization loop you can use the ``skopt.Optimizer``\nclass:\n\n.. code:: python\n\n    from skopt import Optimizer\n\n    opt = Optimizer([(-2.0, 2.0)])\n\n    for i in range(20):\n        suggested = opt.ask()\n        y = f(suggested)\n        opt.tell(suggested, y)\n        print('iteration:', i, suggested, y)\n\n\nRead our `introduction to bayesian\noptimization \u003chttps://scikit-optimize.github.io/stable/auto_examples/bayesian-optimization.html\u003e`__\nand the other examples_.\n\n\nDevelopment\n-----------\n\nThe library is still experimental and under heavy development. Checkout\nthe `next\nmilestone \u003chttps://github.com/scikit-optimize/scikit-optimize/milestones\u003e`__\nfor the plans for the next release or look at some `easy\nissues \u003chttps://github.com/scikit-optimize/scikit-optimize/issues?q=is%3Aissue+is%3Aopen+label%3AEasy\u003e`__\nto get started contributing.\n\nThe development version can be installed through:\n\n::\n\n    git clone https://github.com/scikit-optimize/scikit-optimize.git\n    cd scikit-optimize\n    pip install -e.\n\nRun all tests by executing ``pytest`` in the top level directory.\n\nTo only run the subset of tests with short run time, you can use ``pytest -m 'fast_test'`` (``pytest -m 'slow_test'`` is also possible). To exclude all slow running tests try ``pytest -m 'not slow_test'``.\n\nThis is implemented using pytest `attributes \u003chttps://docs.pytest.org/en/latest/mark.html\u003e`__. If a tests runs longer than 1 second, it is marked as slow, else as fast.\n\nAll contributors are welcome!\n\n\nMaking a Release\n~~~~~~~~~~~~~~~~\n\nThe release procedure is almost completely automated. By tagging a new release\ntravis will build all required packages and push them to PyPI. To make a release\ncreate a new issue and work through the following checklist:\n\n* update the version tag in ``__init__.py``\n* update the version tag mentioned in the README\n* check if the dependencies in ``setup.py`` are valid or need unpinning\n* check that the ``doc/whats_new/v0.X.rst`` is up to date\n* did the last build of master succeed?\n* create a `new release \u003chttps://github.com/scikit-optimize/scikit-optimize/releases\u003e`__\n* ping `conda-forge \u003chttps://github.com/conda-forge/scikit-optimize-feedstock\u003e`__\n\nBefore making a release we usually create a release candidate. If the next\nrelease is v0.X then the release candidate should be tagged v0.Xrc1 in\n``__init__.py``. Mark a release candidate as a \"pre-release\"\non GitHub when you tag it.\n\n\nCommercial support\n------------------\n\nFeel free to `get in touch \u003cmailto:tim@wildtreetech.com\u003e`_ if you need commercial\nsupport or would like to sponsor development. Resources go towards paying\nfor additional work by seasoned engineers and researchers.\n\n\nMade possible by\n----------------\n\nThe scikit-optimize project was made possible with the support of\n\n.. image:: https://avatars1.githubusercontent.com/u/18165687?v=4\u0026s=128\n   :alt: Wild Tree Tech\n   :target: http://wildtreetech.com\n\n.. image:: https://i.imgur.com/lgxboT5.jpg\n    :alt: NYU Center for Data Science\n    :target: https://cds.nyu.edu/\n\n.. image:: https://i.imgur.com/V1VSIvj.jpg\n    :alt: NSF\n    :target: https://www.nsf.gov\n\n.. image:: https://i.imgur.com/3enQ6S8.jpg\n    :alt: Northrop Grumman\n    :target: http://www.northropgrumman.com/Pages/default.aspx\n\nIf your employer allows you to work on scikit-optimize during the day and would like\nrecognition, feel free to add them to the \"Made possible by\" list.\n\n\n.. |pypi| image:: https://img.shields.io/pypi/v/scikit-optimize.svg\n   :target: https://pypi.python.org/pypi/scikit-optimize\n.. |conda| image:: https://anaconda.org/conda-forge/scikit-optimize/badges/version.svg\n   :target: https://anaconda.org/conda-forge/scikit-optimize\n.. |Travis Status| image:: https://travis-ci.org/scikit-optimize/scikit-optimize.svg?branch=master\n   :target: https://travis-ci.org/scikit-optimize/scikit-optimize\n.. |CircleCI Status| image:: https://circleci.com/gh/scikit-optimize/scikit-optimize/tree/master.svg?style=shield\u0026circle-token=:circle-token\n   :target: https://circleci.com/gh/scikit-optimize/scikit-optimize\n.. |Logo| image:: https://avatars2.githubusercontent.com/u/18578550?v=4\u0026s=80\n.. |binder| image:: https://mybinder.org/badge.svg\n   :target: https://mybinder.org/v2/gh/scikit-optimize/scikit-optimize/master?filepath=examples\n.. |gitter| image:: https://badges.gitter.im/scikit-optimize/scikit-optimize.svg\n   :target: https://gitter.im/scikit-optimize/Lobby\n.. |Zenodo DOI| image:: https://zenodo.org/badge/54340642.svg\n   :target: https://zenodo.org/badge/latestdoi/54340642\n.. _examples: https://scikit-optimize.github.io/stable/auto_examples/index.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscikit-optimize%2Fscikit-optimize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscikit-optimize%2Fscikit-optimize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscikit-optimize%2Fscikit-optimize/lists"}