Skip to main content

Genetic hyperparameter tuning for neural nets

Project description

Neural Networks Optimized by Genetic Algorithms for Data Analysis (NNOGADA)

nnogada is a Python package that performs hyperparemeter tuning for artificial neural networks, particularly for Multi Layer Perceptrons, using simple genetic algorithms. Useful for generate better neural network models for data analysis. Currently, only works with feedforward neural networks in tensorflow.keras (classification and regression) and torch (regression at this moment).

Before use the code, please install the requirements:

$ pip3 install nnogada

Or you can try to install nnogada in your computer:

$ git clone https://github.com/igomezv/nnogada

$ cd nnogada

$ pip3 install -e .

then you can delete the cloned repo because you must have nnogada installed locally.

Other way to install nnogada (without clonning) is:

$ pip3 install -e git+https://github.com/igomezv/nnogada#egg=nnogada

If you use the code, please cite the paper Gómez-Vargas, I., Andrade, J. B., & Vázquez, J. A. (2023). Neural networks optimized by genetic algorithms in cosmology. Physical Review D, 107(4), 043509.

Contributions are welcome!

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

nnogada-0.9.1.2.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file nnogada-0.9.1.2.tar.gz.

File metadata

  • Download URL: nnogada-0.9.1.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for nnogada-0.9.1.2.tar.gz
Algorithm Hash digest
SHA256 2d048e7143defbb556c28d07a7339947aefcb09116649cb0148188865e9fc6c8
MD5 52640addb60531468b2a6f04137eb164
BLAKE2b-256 f97630da2f64070734204432471b732c91d07a7b688d7e2d482efb4bff9ec83d

See more details on using hashes here.

Provenance

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