Skip to content

About

Created_Neural_Networks_From_Scratch demonstrates building neural networks step by step without using high-level libraries. It covers core concepts like forward propagation, backpropagation, and training, providing a foundational understanding of deep learning mechanics.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Building Neural Networks from Scratch

This project is a hands-on guide to understanding the inner workings of neural networks by implementing them step-by-step using Python and NumPy. It aims to demystify core deep learning concepts without relying on high-level frameworks.

This project is heavily inspired by and follows the structure of the book "Neural Networks from Scratch in Python" by Harrison Kinsley and Daniel Kukieła. The code here represents my personal implementation and notes as I work through the book.

📖 Table of Contents

🚀 Getting Started

To run the code in this repository, you'll need Python and the libraries listed in requirements.txt.

Why build from scratch?

By building a neural network from the ground up, you will gain a deeper understanding of:

  • Forward Propagation: How input data flows through the network.
  • Activation Functions: The role they play in introducing non-linearity.
  • Layers: How to structure and connect layers of neurons.
  • Batch Processing: How to process data efficiently in batches.

Prerequisites

  • Python 3.x
  • pip (Python package installer)

Installation

  1. Clone the repository:

    git clone https://github.com/AnilKumarSingh9856/Created_Neural_Networks_From_Scratch.git
    cd Created_Neural_Networks_From_Scratch
  2. Create and activate a virtual environment (Recommended):

    # For Linux/macOS
    python3 -m venv .venv
    source .venv/bin/activate
    
    # For Windows
    python -m venv .venv
    .venv\Scripts\activate
  3. Install the required packages:

    pip install -r requirements.txt

⚖️ Disclaimer

Important Copyright Notice: The content of this repository is for educational purposes only and represents my personal implementation of the concepts taught in the "Neural Networks from Scratch" book by Harrison Kinsley and Daniel Kukieła.

The PDF of the book is not, and will not be, distributed in this repository due to copyright restrictions.

The code and content in this repository are for educational purposes only and are my personal implementation based on the concepts taught in the "Neural Networks from Scratch" book by Harrison Kinsley and Daniel Kukieła.

This project is not affiliated with, endorsed by, or sponsored by the original authors or their publisher. I highly recommend purchasing the official book to support the authors and for a comprehensive understanding of the material.

🏗️ Project Structure and Usage

This project is organized into the following files and directories:

  • NNFS_Chapter_2_Coding_Our_First_Neurons.ipynb: A Jupyter Notebook that serves as the entry point to the project. It walks you through coding a single neuron, then a full layer of neurons, and demonstrates the efficiency gains of using NumPy for these operations.

  • requirements.txt: This file lists all the Python packages required to run the project. You can install them using pip install -r requirements.txt.

  • LICENSE: Contains the MIT License under which this project is shared.

  • README.md: The file you are currently reading, which provides an overview of the project.

🤝 Contributing

Contributions are welcome! If you have suggestions for improvements or find any issues, please feel free to open an issue or submit a pull request.

📄 License

This project is open-source and available under the MIT License.

About

Created_Neural_Networks_From_Scratch demonstrates building neural networks step by step without using high-level libraries. It covers core concepts like forward propagation, backpropagation, and training, providing a foundational understanding of deep learning mechanics.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages