Skip to main content

Smart hyperparameter optimization in Python

Project description

Homing Search

Homing Search is a python module for smart hyperparameter optimization in Python.

Why

Typically for hyperparameter optimization programmers use sklearn's GridSearch or RandomSearch algorithms.

GridSearch has the advantage of being exhaustive, and the disadvantage of taking impractically long for large search spaces.

RandomSearch has the advantage of being managable to a timeframe of the developer's choosing, but the disadvantage of being non-adaptable to results as they are discovered.

Homing Search seeks to bring together the best of both of these two approaches and to improve upon them by adding adaptation based on the results discovered so far.

Features

  • You provide a time-limit within which it is guaranteed to finish.
  • If the search area is small enough, it will perform an exhaustive grid search in approximately the same time as a GridSearch. There is no reason NOT to choose Homing Search in preference to GridSearch.
  • If the search area is very large, it will produce better results than both GridSearch and RandomSearch.
  • Backend agnostic. Currently supporting functions for Keras are provided to process pandas dataframes into tensorflow datasets, in the future additional supporting functions for sklearn and pytorch databunch will be added.

Getting started

Install Homing Search from PyPI

$ pip install homing_search

To run your first example:

# TODO: Provide an example using a toy dataset!

Contributing

If you're a developer and wish to contribute:

  1. Create an account on GitHub if you do not already have one.

  2. Fork the project repository: click on the ‘Fork’ button near the top of the page. This creates a copy of the code under your account on the GitHub user account. For more details on how to fork a repository see this guide.

  3. Clone your fork of the homing_search repo from your GitHub account to your local disk:

$ git clone https://github.com/<your github username>/homing_search.git
$ cd homing_search

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

homing_search-0.0.1.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

homing_search-0.0.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file homing_search-0.0.1.tar.gz.

File metadata

  • Download URL: homing_search-0.0.1.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for homing_search-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6af3e41ddc6bbf89b46b312577d5b65ad342f8ec919a346a5a3f002170d86f22
MD5 e1973c513be4a2419b5493a967b6b7cd
BLAKE2b-256 966623184c5b3f249c6d50d4ea0405d78904b9238a09cf866ff62552ce3789f2

See more details on using hashes here.

File details

Details for the file homing_search-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: homing_search-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for homing_search-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d52f857ddc7ed0db0fde33173d566792520addb229c35c53e7e4372b9b91f0ed
MD5 d6120957acccddb5cb4969eb9f052fdf
BLAKE2b-256 e365373f9e4c10f63d42eb69bf18dd93ef819cd28251623460c78e64ce79af74

See more details on using hashes here.

Supported by

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