Skip to main content

Grid Search in Python

Project description

GriSPy (Grid Search in Python)

logo

PyPi Version Build Status Documentation Status License: MIT Python 3.6+

GriSPy is a regular grid search algorithm for quick nearest-neighbor lookup.

This class indexes a set of k-dimensional points in a regular grid providing a fast aproach for nearest neighbors queries. Optional periodic boundary conditions can be provided for each axis individually.

GriSPy has the following queries implemented:

  • bubble_neighbors: find neighbors within a given radius. A different radius for each centre can be provided.
  • shell_neighbors: find neighbors within given lower and upper radius. Different lower and upper radius can be provided for each centre.
  • nearest_neighbors: find the nth nearest neighbors for each centre.

And the following method is available:

  • set_periodicity: define the periodicity conditions.

Requirements

You need Python 3.6 or later to run GriSPy. You can have multiple Python versions (2.x and 3.x) installed on the same system without problems.

Standard Installation

GriSPy is available at PyPI. You can install it via the pip command

    $ pip install grispy

Development Install

Clone this repo and then inside the local directory execute

    $ pip install -e .

Authors

Martin Chalela (E-mail: tinchochalela@gmail.com), Emanuel Sillero, Luis Pereyra and Alejandro Garcia

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

grispy-0.0.2.tar.gz (16.7 kB view details)

Uploaded Source

File details

Details for the file grispy-0.0.2.tar.gz.

File metadata

  • Download URL: grispy-0.0.2.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.0

File hashes

Hashes for grispy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c824f78f65de329986bfb806e47fec0f73f4cea46e2c06fa028bb483a1e2f9e8
MD5 812bbbc7f7e12951b39ff43c51a8d984
BLAKE2b-256 0c8973cea571e75d19aa54a1dc0406e14951391de4e210d4a4b65a30458a4681

See more details on using hashes here.

Supported by

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