项目作者: captain-pool

项目描述 :
Fully connected Feed Forward Neural Network Model using numpy. Stochastic Gradient Descent Algorithm
高级语言: Python
项目地址: git://github.com/captain-pool/FC_FeedForward_SGD.git
创建时间: 2018-04-20T06:40:03Z
项目社区:https://github.com/captain-pool/FC_FeedForward_SGD

开源协议:MIT License

下载


Fully Connected Feed Forward Neural Network

Overview

Lightweight Python 3 Library for Feed Forward Neural Network with Stochastic Gradient Descent (SGD) Optimizer and Euclidean Error Function.

Dependencies:

  • Numpy 1.14.xpip install numpy

    Usage:

  • Create Network
    ```
    from FC_SGD import Network

import numpy as np
network=Network([3,5,2]) # Fully Connected Neural Network created with 3 layers, having 3 neurons, 5 neurons, and 2 neurons

  1. * Train Network

network.SGD(np.array([([],[output layer data 1]), ([],[output layer data 2])]))

  1. * Predict result

output=network.feedforward(np.array([]))
print(output[]) #0th Neuron is at the top of the layer
```