This repository contains Python code for a simple neural network implementation Neural_Network.ipnb
along with a playground.ipnb
notebook, which is a Python migration of the TensorFlow Playground.
This Jupyter notebook contains the implementation of a neural network with various activation functions (Sigmoid, ReLU, Weighted ReLU, Tanh), a mean squared cost function, and perceptron and layer classes. It also includes a training monitor and an example usage section that demonstrates training the neural network for the XOR problem and plotting the decision boundary.
This Jupyter notebook is a Python migration of the TensorFlow Playground, providing an interactive environment to experiment with neural networks. It includes implementations for nodes, error functions, activation functions, regularization functions, links, and utilities for building and training neural networks.
- Open the
Neural_Network.ipnb
notebook in a Jupyter environment. - Run the cells sequentially to load the neural network implementation, train the network for the XOR problem, and plot the decision boundary.
- Open the
playground.ipnb
notebook in a Jupyter environment. - Explore the provided implementation of the neural network in the TensorFlow Playground style.
- Experiment with different network architectures, activation functions, and training parameters interactively.
- Python 3.x
- NumPy
- Matplotlib
Make sure to install these dependencies before running the notebooks.
Feel free to modify the code, experiment with different configurations, and use the provided implementations for educational purposes or as a starting point for your projects.