First, clone or download the repository. Then enter the path. This neural network uses two kinds of activate function (ReLU and sigmoid). You can run the Python files.
python mnist_neural_network_relu.py
or
python mnist_neural_network_sigmoid.py
The Python function load_data() is used to load train set and test set.
X_train, y_train, X_test, y_test = load_data()
Then use the function run() to start training network.
run(X_train, y_train, X_test, y_test)