Skip to content

Inspired from a repo . i have implemented an some ground level maths and logic . In this neural network no tensorflow , pytorch is used it is just prepared by using numpy and some logical math.

Notifications You must be signed in to change notification settings

Blacksujit/Neural_Network_using_Numpy_and_Math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Web Page:

image

image

image

📋 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:

    git clone  https://github.com/Blacksujit/Neural_Network_using_Numpy_and_Math.git
  2. Set up a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  3. Install dependencies:

    pip install -r requirements.txt
  4. Run the application:

    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

📝 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 nirmalsujit861@gmail.com.

🔗 Links

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.


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


About

Inspired from a repo . i have implemented an some ground level maths and logic . In this neural network no tensorflow , pytorch is used it is just prepared by using numpy and some logical math.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published