/artificial_neural_networks

A collection of Methods and Models for various architectures of Artificial Neural Networks

Primary LanguagePythonApache License 2.0Apache-2.0

artificial_neural_networks

GitHub license Contributions welcome

About

This repository contains a collection of Methods and Models for various architectures of Artificial Neural Networks.

The code implementation is in Python 3 (using TensorFlow and Keras libraries).

The repository is the one used for the module CEI 523: Data Science at the Master's degree MSc in Data Science and Engineering at the Cyprus Unioversity of Technology and also, at the meetups and workshops of PyData Cyprus.

If you like this repository or if you found it useful, feel free to Star, Fork, Watch it or share it online.

Note: Hyperparameter Optimization, Model Selection and Model Evaluation are outside the scope of this repository.

Introduction

  • Currently, this repository is neither a library nor a framework, but it is a collection of code examples
  • The code is well documented so that it can be used for both educational purposes and for real-life applications
  • This repository is intended to be friendly to beginners, but it is not limited just to them
  • Since TensorFlow is ideal for both Research and Production Development, then so is this repository
  • In order to deploy the source code into Production, a few extensions will have to be made first
  • The license of this repository essentially allows you to do whatever you want with the code

Downloading

It is strongly recommended that you download the whole GitHub repository, but you can also try to download just the individual Python files and see if they work. However, there is no guarantee that individual files will work on their own.

To download the whole repository, there are currently two mains options:

You can choose the one which best suits your needs.

Setup and Installation

The code should run on any machine (i.e. Windows, macOS, Linux) that supports Python 3.

Guides and instructions on how to install the necessary libraries and how to setup your environment can be found here.

Running from the terminal

If you do not want to use an IDE (e.g. Spyder) and want to run a script from the command line (terminal) then you should use it with the -m command-line flag and without its .py extension, for the reasons explained here.

For example, by replacing <your directory path> accordingly, you can either run this:

cd <your directory path>/artificial_neural_networks/code/architectures/feedforward_neural_networks/standard_neural_networks/
python -m snn_dense_mnist

or you can run this:

cd <your directory path>/artificial_neural_networks/
python -m artificial_neural_networks.code.architectures.feedforward_neural_networks.standard_neural_networks.snn_dense_mnist

Methods and Models

This repository includes the following architectures:

Some advanced Methods of Machine Learning are also included:

  • Ensemble Learning
  • Transfer Learning

Areas of Application

Various applications of the aforementioned Methods and Models are also included and they fall under the following domains, in alphabetical order:

Theory

Finally, regarding theory of Artificial Neural Networks, you can check the following pages on my personal wiki:

The wiki contains curated lists of online and offline resources (e.g. books, papers, URL links) about these topics.

Contributing

Contributors are all welcome.

Please note that this project is under development, so it is possible that you might run into bugs and/or problems.

So, if you find any bugs and/or problems, please feel free to open an issue or submit a pull request.

License

Apache License 2.0