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 📘
Annals of Computer Science and Information Systems, Volume 30: NiaNet: A framework for constructing Autoencoder architectures using nature-inspired algorithms
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 ⚠️
Acknowledgments 🎓
-
NiaNet was developed under the supervision of doc. dr Iztok Fister ml. at University of Maribor.
-
This code is a fork of NiaPy. I am grateful that the authors chose to open-source their work for future use.
Cite us
Are you using NiaNet in your project or research? Please cite us!
Plain format
S. Pavlič, I. F. Jr, and S. Karakatič, “NiaNet: A framework for constructing Autoencoder architectures using nature-inspired algorithms,” in Annals of Computer Science and Information Systems, 2022, vol. 30, pp. 109–116. Accessed: Oct. 08, 2022. [Online]. Available: https://annals-csis.org/Volume_30/drp/192.html
Bibtex format
@article{NiaPyJOSS2018,
author = {Vrban{\v{c}}i{\v{c}}, Grega and Brezo{\v{c}}nik, Lucija
and Mlakar, Uro{\v{s}} and Fister, Du{\v{s}}an and {Fister Jr.}, Iztok},
title = {{NiaPy: Python microframework for building nature-inspired algorithms}},
journal = {{Journal of Open Source Software}},
year = {2018},
volume = {3},
issue = {23},
issn = {2475-9066},
doi = {10.21105/joss.00613},
url = {https://doi.org/10.21105/joss.00613}
}
RIS format
TY - CONF
TI - NiaNet: A framework for constructing Autoencoder architectures using nature-inspired algorithms
AU - Pavlič, Sašo
AU - Jr, Iztok Fister
AU - Karakatič, Sašo
T2 - Proceedings of the 17th Conference on Computer Science and Intelligence Systems
C3 - Annals of Computer Science and Information Systems
DA - 2022///
PY - 2022
DP - annals-csis.org
VL - 30
SP - 109
EP - 116
LA - en
SN - 978-83-962423-9-6
ST - NiaNet
UR - https://annals-csis.org/Volume_30/drp/192.html
Y2 - 2022/10/08/19:08:20
L1 - https://annals-csis.org/Volume_30/drp/pdf/192.pdf
L2 - https://annals-csis.org/Volume_30/drp/192.html
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!
Metadata
Release files for nianet 1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| NiaNet-1.1.4.tar.gz | 10.5 kB | Without provenance | Details for NiaNet-1.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| NiaNet-1.1.4-py3-none-any.whl | Python 3 | none | any | Details for NiaNet-1.1.4-py3-none-any.whl |
Total release size: 19.4 kB
Release files / NiaNet-1.1.4.tar.gz
| Download URL | NiaNet-1.1.4.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0b7d62d2bab93cce8872f7238b99f98505031f30449e4ec4bebed2f2b547cd1
|
|
BLAKE2b-256 checksum How to use checksums |
795d89f1ddea935e9532fa600fc5c37e40378ccb16a43a1f5b42ddc50240eed1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.9 Linux/5.15.91-1-MANJARO
|
Release files / NiaNet-1.1.4-py3-none-any.whl
| Download URL | NiaNet-1.1.4-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8433db51e4f5ec68a954d9f92e7d0ce95277681fcce5de8d5e3ae627e66b33b4
|
|
BLAKE2b-256 checksum How to use checksums |
3b61123fe94540b07e2b55f5eeddc6cfdcd007d7f1aa57d80427ef6191deff15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.9 Linux/5.15.91-1-MANJARO
|
Security for nianet 1.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.