This project is designed to create an artificial neural network
model from scratch. It attempts to recoding the multilayer perceptron (MLP), one of the deep learning models.
The model is evaluated on test data, calculating the accuracy and loss, and visualizing predictions.
from model import NeuralNet
# Building Model
model = NeuralNet(
input_unit=784,
hidden_units=[128, 256, 128],
output_unit=10
)
# Training Model
model.train(x_train, y_train, epoch=2000, learning_rate=0.01)
# Testing Model
model.evulate(x_test, y_test)