Giter Site home page Giter Site logo

artificial-neural-network-ca-gaib's Introduction

Artificial-Neural-Network-Ca-GaIB

Artificial Neural Network implementation in Python.

Table of Contents

General Information

Implementation of Artificial Neural Network in python. The type of the implemented ANN is a L-layer Feedforward Neural Network. The first layer until the (L-1)th layer use ReLU activation function. The last layer use sigmoid activation function. The optimizer used in the model is an Gradient Descent Algorithm (You can change it to SGD or Mini-batch GD based on the batch-size hyperparameter). The number of layers and the number of units per layer can be modified via source code. You can change it by changing the numbers in the layer array in main.py. Current supported data is Breast Cancer dataset only.

Technologies Used

  • python - version 3.10
  • pandas - version 1.4.3
  • numpy - version 1.21.6

How to run

Use this command in the root directory of the repository

python main.py --data <csv-filename> --epochs <number-of-epochs> --lr <learning-rate> --batch_size <number-of-batch-size>

Example:

python main.py --data bcancer.csv --epochs 1500 --lr 0.1 --batch_size 100

Screenshots

Example screenshot

artificial-neural-network-ca-gaib's People

Contributors

hanifmz07 avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.