nianet

Designing and constructing neural network topologies using nature-inspired algorithms

https://github.com/sasopavlic/nianet

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (18.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Designing and constructing neural network topologies using nature-inspired algorithms

Basic Info
  • Host: GitHub
  • Owner: SasoPavlic
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 155 KB
Statistics
  • Stars: 6
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 2
Created over 4 years ago · Last pushed over 3 years ago
Metadata Files
Readme License Code of conduct Citation

README.md

NiaPy


PyPI Version PyPI - Python Version Downloads GitHub license

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: sh 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 evolvefordiabetes_dataset.py.

Change dataset:

Change the dataset import function as follows: python 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 🎓

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!

Owner

  • Name: Sašo Pavlič
  • Login: SasoPavlic
  • Kind: user
  • Location: Slovenia

Machine Learning Engineer

Citation (CITATION.cff)

# YAML 1.2
---
authors: 
  -
    family-names: "Pavlič"
    given-names: Sašo
  -
    family-names: "Sašo"
    given-names: Karakatič
  -
    family-names: "Fister Jr."
    given-names: Iztok
cff-version: "1.1.0"
date-released: 2022-09-30
doi: "http://dx.doi.org/10.15439/2022F192"
license: MIT
message: "If you use this software, please cite it using these metadata."
repository-code: "https://github.com/SasoPavlic/NiaNet"
title: "Designing and constructing neural network topologies using nature-inspired algorithms"
version: "1.1.4"
...

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Issues and Pull Requests

Last synced: almost 2 years ago

All Time
  • Total issues: 11
  • Total pull requests: 4
  • Average time to close issues: 17 days
  • Average time to close pull requests: 3 days
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 1.91
  • Average comments per pull request: 0.25
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • firefly-cpp (11)
Pull Request Authors
  • firefly-cpp (4)
Top Labels
Issue Labels
Pull Request Labels
enhancement (1)

Dependencies

.github/workflows/python-app.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
poetry.lock pypi
  • attrs 22.2.0 develop
  • colorama 0.4.6 develop
  • exceptiongroup 1.1.0 develop
  • iniconfig 2.0.0 develop
  • pluggy 1.0.0 develop
  • pytest 7.2.1 develop
  • contourpy 1.0.7
  • cycler 0.11.0
  • et-xmlfile 1.1.0
  • fonttools 4.38.0
  • joblib 1.2.0
  • kiwisolver 1.4.4
  • matplotlib 3.6.3
  • niapy 2.0.4
  • numpy 1.24.2
  • nvidia-cublas-cu11 11.10.3.66
  • nvidia-cuda-nvrtc-cu11 11.7.99
  • nvidia-cuda-runtime-cu11 11.7.99
  • nvidia-cudnn-cu11 8.5.0.96
  • openpyxl 3.1.0
  • packaging 23.0
  • pandas 1.5.3
  • pillow 9.4.0
  • pyparsing 3.0.9
  • python-dateutil 2.8.2
  • pytz 2022.7.1
  • scikit-learn 1.2.1
  • scipy 1.10.0
  • setuptools-scm 7.1.0
  • six 1.16.0
  • threadpoolctl 3.1.0
  • tomli 2.0.1
  • torch 1.13.1
  • typing-extensions 4.4.0
pyproject.toml pypi
  • pytest ^7.2.0 develop
  • matplotlib ^3.5.1
  • niapy ^2.0.4
  • numpy ^1.22.3
  • python >=3.8,<3.11
  • scikit-learn ^1.0.2
  • torch ^1.13.1
requirements.txt pypi
  • nianet *
  • niapy *
  • numpy *
  • pandas *
  • scikit-learn *
  • tomli *
  • torch *