Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/blacksujit/neural_network_using_numpy_and_math

Inspired from a repo this neural network iN Neural network no tensorflow , pytorch is used it is just prepared by using numpy and some logical math
https://github.com/blacksujit/neural_network_using_numpy_and_math

algorithmic-composition basics-of-python calculus criticalthinking innovation machine-learning maths neural-network neuralnetworkusingnumpy numpy purebasics

Last synced: about 1 month ago
JSON representation

Inspired from a repo this neural network iN Neural network no tensorflow , pytorch is used it is just prepared by using numpy and some logical math

Awesome Lists containing this project

README

        

# Neural Network XOR Predictor

# Interesting part about this neural network:

## facinated by an repo and thaught how can be a neural network be prepared from scratch from just using numpy and maths no tensorflow , no pytorch just pure basics

Welcome to the Neural Network XOR Predictor! 🎉 This project demonstrates a simple neural network that learns and predicts the XOR logic gate. It showcases the power of neural networks and provides an interactive web interface to explore neural network predictions.

### Live Project:

[Live Demo](https://neural-network-using-numpy-and-math.onrender.com/)

# Web Page:

![image](https://github.com/user-attachments/assets/cf50e557-0011-466f-9207-a5d00b770f17)

![image](https://github.com/user-attachments/assets/dc43980a-10a7-4f56-9c55-a99948e1dda5)

![image](https://github.com/user-attachments/assets/4c432831-c623-4f29-8ecb-a1d9e615d519)

## 📋 Project Structure

```

neural-network-xor-predictor_using_numpy/

├── app.py # Main Flask application file
├── neural_network.py # Neural network implementation using NumPy
├── templates/
│ └── index.html # HTML file for the web interface
├── static/
│ └── style.css # CSS file for styling the web interface
└── README.md # This README file

```

## 🛠️ Features

- **Neural Network Training**: Trains a neural network to predict the XOR logic gate using Python and NumPy.
- **Interactive Web Interface**: Built with Flask and HTML/CSS to input values and get predictions in real-time.
- **Visualization**: Includes a Plotly-based animation to visualize the neural network layers.
- **Educational Video**: Embedded YouTube video explaining how neural networks work.

# Neural Network XOR Predictor

Welcome to the Neural Network XOR Predictor! 🎉 This project demonstrates a simple neural network that learns and predicts the XOR logic gate. It showcases the power of neural networks and provides an interactive web interface to explore neural network predictions.

## 🧑‍💻 Installation

1. **Clone the repository:**
```bash
git clone https://github.com/Blacksujit/Neural_Network_using_Numpy_and_Math.git
```

2. **Set up a virtual environment:**
```bash
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
```

3. **Install dependencies:**
```bash
pip install -r requirements.txt
```

4. **Run the application:**
```bash
python app.py
```

5. **Navigate to `http://127.0.0.1:5000/` in your web browser.**

## 🎨 Visualization

The neural network layers are visualized using Plotly. An interactive animation demonstrates how the different layers of the neural network are structured.

## 🎥 Educational Video

Learn how neural networks work with our embedded YouTube video:
[How a Neural Network Works](https://www.youtube.com/embed/aircAruvnKk)

## 📝 How to Contribute

Feel free to fork the repository and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.

## 💬 Contact

For any questions or suggestions, please contact me at [[email protected]](mailto:[email protected]).

## 🔗 Links

- [Project Repository](https://github.com/Blacksujit/Neural_Network_using_Numpy_and_Math.git)
- [Live Demo](https://neural-network-using-numpy-and-math.onrender.com/)

## 📜 License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

---

Thank you for checking out the Neural Network XOR Predictor! We hope you find it insightful and useful. 🚀

---