Skip to main content

Designing and constructing neural network topologies using nature-inspired algorithms

Project description

NiaPy


Designing and constructing neural network topologies using nature-inspired algorithms

Description 📝

The proposed method NiaNet attempts to pick hyperparameters and AE architecture that will result in a successful encoding and decoding (minimal difference between input and output). NiaNet uses the collection of algorithms available in the library NiaPy to navigate efficiently in waste search-space.

What it can do? 👀

  • Construct novel AE's architecture using nature-inspired algorithms.
  • It can be utilized for any kind of dataset, which has numerical values.

Installation ✅

Installing NiaNet with pip3:

pip3 install nianet

Documentation 📘

The paper referring to this source code is currently being published. The link will be posted here once it is available.

Examples

Usage examples can be found here.

Getting started 🔨

Create your own example:

In examples folder create the Python file based on the existing evolve_for_diabetes_dataset.py.

Change dataset:

Change the dataset import function as follows:

from sklearn.datasets import load_diabetes
dataset = load_diabetes()
Specify the search space:

Set the boundaries of your search space with autoencoder.py.

The following dimensions can be modified:

  • Topology shape (symmetrical, asymmetrical)
  • Size of input, hidden and output layers
  • Number of hidden layers
  • Number of neurons in hidden layers
  • Activation functions
  • Number of epochs
  • Learning rate
  • Optimizer

You can run the NiaNet script once your setup is complete.

Running NiaNet script:

python evolve_for_diabetes_dataset.py

HELP ⚠️

saso.pavlic@student.um.si

Acknowledgments 🎓

License

This package is distributed under the MIT License. This license can be found online at http://www.opensource.org/licenses/MIT.

Disclaimer

This framework is provided as-is, and there are no guarantees that it fits your purposes or that it is bug-free. Use it at your own risk!

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

NiaNet-1.0.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

NiaNet-1.0.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file NiaNet-1.0.0.tar.gz.

File metadata

  • Download URL: NiaNet-1.0.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.13.0-40-generic

File hashes

Hashes for NiaNet-1.0.0.tar.gz
Algorithm Hash digest
SHA256 20b16945eda5c43e861795dd330b3568f26196f3dabcbbabc310f27de6760a1b
MD5 a550f90d8ffb344274aa815d02a8bb63
BLAKE2b-256 e5f880bf413e5a00d21685c3d090904987bbee2a0d126f0f9ad2ba38eed9b879

See more details on using hashes here.

File details

Details for the file NiaNet-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: NiaNet-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.13.0-40-generic

File hashes

Hashes for NiaNet-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6fb4b2bfd24d3e536a657a81de392699479e51eb142b03774b5f98c3489b971e
MD5 8dcd707d2385f9479a27522b818f8bed
BLAKE2b-256 b342e48122dbdbd01b077772c3d1a50702af7d0eff2db18ac43543fe0a7cf5cd

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