Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/siddeshsambasivam/simple_neural_network-linearregression
Objective: For basic understanding on how a neural network works
https://github.com/siddeshsambasivam/simple_neural_network-linearregression
Last synced: 22 days ago
JSON representation
Objective: For basic understanding on how a neural network works
- Host: GitHub
- URL: https://github.com/siddeshsambasivam/simple_neural_network-linearregression
- Owner: SiddeshSambasivam
- Created: 2018-12-31T19:57:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-01T04:01:41.000Z (almost 6 years ago)
- Last Synced: 2024-10-23T03:25:46.703Z (23 days ago)
- Language: Jupyter Notebook
- Size: 35.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple_Neural_Network-LinearRegression
Objective: For basic understanding on how a neural network works### Getting Started
Neural network is an interesting and a fascinating topic in today's world but yet it is harder to visualize it in code format, so to get a good grasp over the fundamentals of neural network in coding this repository provides a basic python notebook where neural network is implemented in a simple linear regression and each step is clearly explained for better understanding.
### Prerequisites
What things you need to install the software and how to install them
```
Pandas
Numpy
Matplotlib
tqdm
tensorflow
```### Installing
A step by step series of examples that tell you how to get a development env running
If the required dependencies (prerequisites) are already installed, please skip this part.
To install these prerequisites, Open the respective command line interface (powershell, terminal) and paste the following:```
pip install pandas
pip install numpy
pip install tensorflow
pip install tqdm
pip install matplotlib```
### What it does ??
This Neural network finds an optimal line which minimizes the loss function for the given dayaset and we use mean squared error(MSE) as the cost function.## How it works ??
![](https://www.cc.gatech.edu/~san37/img/dl/perceptron.jpg)This neural network has an input layer which is matrix of input features and an output layer of a target vector. To make things simple we predefine the slope and the intercept for the line and find the true target vector. Since the number of examples are high, the training set is divided into a batch consisting pf 10 examples and training about 10000 batches and finds the optimum slope and intercept which has minimum value for the loss function.