Skip to main content

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

Metadata

Release files for homing-search 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for homing-search 0.0.1
File Size Uploaded
homing_search-0.0.1.tar.gz 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for homing-search 0.0.1
File Interpreter ABI Platform
homing_search-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.7 kB

Release files / homing_search-0.0.1.tar.gz

Download URL homing_search-0.0.1.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6af3e41ddc6bbf89b46b312577d5b65ad342f8ec919a346a5a3f002170d86f22
BLAKE2b-256 checksum
How to use checksums
966623184c5b3f249c6d50d4ea0405d78904b9238a09cf866ff62552ce3789f2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / homing_search-0.0.1-py3-none-any.whl

Download URL homing_search-0.0.1-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d52f857ddc7ed0db0fde33173d566792520addb229c35c53e7e4372b9b91f0ed
BLAKE2b-256 checksum
How to use checksums
e365373f9e4c10f63d42eb69bf18dd93ef819cd28251623460c78e64ce79af74
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page